Package-level declarations

Functions

Link copied to clipboard
fun <STATE : Any, SIDE_EFFECT : Any> ContainerHost<STATE, SIDE_EFFECT>.collectAsState(lifecycleState: Lifecycle.State = Lifecycle.State.STARTED): State<STATE>

Observe Container.stateFlow as State.

Link copied to clipboard
fun <STATE : Any, SIDE_EFFECT : Any> ContainerHost<STATE, SIDE_EFFECT>.collectSideEffect(lifecycleState: Lifecycle.State = Lifecycle.State.STARTED, sideEffect: suspend (sideEffect: SIDE_EFFECT) -> Unit)

Observe Container.sideEffectFlow in a Compose LaunchedEffect.