🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

DerivedSnapshotState.ResultRecord

Source set: Common
class ResultRecord<T>(snapshotId: SnapshotId) :
        StateRecord(snapshotId), DerivedState.Record<T>

Properties

validSnapshotId

Source set: Common
var validSnapshotId: SnapshotId = SnapshotIdZero

validSnapshotWriteCount

Source set: Common
var validSnapshotWriteCount: Int = 0

dependencies

Source set: Common
override var dependencies: ObjectIntMap<StateObject> = emptyObjectIntMap()

result

Source set: Common
var result: Any? = Unset

resultHash

Source set: Common
var resultHash: Int = 0

currentValue

Source set: Common
override val currentValue: T

Functions

assign

Source set: Common
override fun assign(value: StateRecord)

create

Source set: Common
override fun create(): StateRecord

create

Source set: Common
override fun create(snapshotId: SnapshotId): StateRecord

isValid

Source set: Common
fun isValid(derivedState: DerivedState<*>, snapshot: Snapshot): Boolean

readableHash

Source set: Common
fun readableHash(derivedState: DerivedState<*>, snapshot: Snapshot): Int

Members

Companion

Source set: Common
companion object

Properties

Unset

Source set: Common
val Unset = Any()