Interface

DerivedState.Record

Source set: Common
interface Record<T>

Properties

currentValue

Source set: Common
val currentValue: T

The value of the derived state retrieved without triggering a notification to read observers.

dependencies

Source set: Common
val dependencies: ObjectIntMap<StateObject>

Map of the dependencies used to produce value or currentValue to nested read level.

This map can be used to determine if the state could affect value of this derived state, when a StateObject appears in the apply observer set.

Last updated: