StateFlowInitializedSubject
constructor(coroutineScope: CoroutineScope, context: CoroutineContext = coroutineScope.coroutineContext, observedStateFlow: MutableStateFlow<T>, autoBind: Boolean = true, observation: ObservationInitialized<T> = ObservationInitialized(
ObservableOptional.Value(
observedStateFlow.value,
),
))
Parameters
T
the type of value to expect.
observedStateFlow
The MutableStateFlow to match the state of.
autoBind
If true
this will automatically call bind.
observation
The ObservationInitialized to handle value being observed