Package-level declarations

Properties

Link copied to clipboard
val <STATE : Any> ContainerHost<STATE, *>.currentState: STATE

Functions

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

Collect ContainerHost.container's effect bounded with the flowWithLifecycle

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

Collect ContainerHost.container's state via collectAsState but bounded with the flowWithLifecycle

Link copied to clipboard
inline suspend fun <R> ViewModel.executeUseCase(block: () -> R): Result<R>