Functions
Link copied to clipboard
inline suspend fun <T : S> awaitRunOn(crossinline predicate: (T) -> Boolean = { true }, crossinline block: suspend SubStateSyntax<S, SE, T>.() -> Unit)
This API is intended to simplify and add type-safety to working with sealed class states.
Link copied to clipboard
Side effects allow you to deal with things like tracking, navigation etc.
Link copied to clipboard
Reducers reduce the current state and incoming events to produce a new state.
Link copied to clipboard
Starts and stops the provided block of code based on the number of subscribers to the OrbitContainer.refCountStateFlow and OrbitContainer.refCountSideEffectFlow.