EffectHandle

fun interface EffectHandle<S : State, A : Action, E : Effect>

Handles the effect triggered after a state transition.

Functions

Link copied to clipboard
abstract suspend operator fun invoke(effect: E, prev: S, current: S, dispatch: suspend (A) -> Unit)