Observation
Deprecated
This feature has been deprecated. It is recommended to use Compose Multiplatform instead.
Class that handles observing value changes for a value of a given type
Parameters
The initial value this observation should contain.
Type Parameters
the type of value to expect.
the type of result to expect. Must be a subclass of T.
the type of ObservableOptional to store the result in.
Inheritors
Properties
Transformation to apply to the latest value when observedValue is called.
The currently observed OO
The current value T or null being observed
The default ObservableOptional.Value to return if the current value is ObservableOptional.Nothing or ObservableOptional.Value containing null.
The ObservableOptional or T that is currently being observed.
Action to execute when this observable is observed for the first time.