Package-level declarations

Functions

Link copied to clipboard
fun <F : UiEffect> EventRouter<*, *, F>.collectEffects(onEffect: suspend (effect: F) -> Unit)

Performs the effects of this router for as long as the screen is started.

Link copied to clipboard
fun <E : UiEvent> EventRouter<E, *, *>.notifyVisibility(event: (visible: Boolean) -> E)

Tells this router when the screen becomes visible and when it stops being visible, with an event of your own.