SideEffectScope

interface SideEffectScope<State, Action : Any> : CoroutineScope

A scope for a SideEffect.

Do not implement this interface directly. New methods or properties might be added to this interface in the future.

Properties

Link copied to clipboard
Link copied to clipboard
abstract val state: State

The current state of the Store.

Functions

Link copied to clipboard
abstract fun dispatch(action: Action)

Dispatches an action. It is the same as calling Store.dispatch.