ReadWritePropertyInitializedSubject
constructor(readWriteProperty: ReadWriteProperty<Any?, T>, initialValue: ObservableOptional.Value<T> = Value(
run {
val v by readWriteProperty
v
},
), coroutineScope: CoroutineScope?, context: CoroutineContext? = coroutineScope?.coroutineContext, observation: ObservationInitialized<T> = ObservationInitialized(initialValue))
Parameters
readWriteProperty
The ReadWriteProperty to track.
initialValue
The initial value of T. Defaults to the current value of the ReadWriteProperty.
observation
The ObservationInitialized to handle observation.
Type Parameters
T
the type of value to expect.