collectSideEffect

@Composable
fun <STATE : Any, SIDE_EFFECT : Any> ContainerHost<STATE, SIDE_EFFECT>.collectSideEffect(sideEffect: suspend (SIDE_EFFECT) -> Unit)

Observe Container.sideEffectFlow in a Compose LaunchedEffect.

Sources

Link copied to clipboard