StateDispatcherImpl

class StateDispatcherImpl(coroutineScope: CoroutineScope) : StateDispatcher

Constructors

Link copied to clipboard
constructor(coroutineScope: CoroutineScope)

Functions

Link copied to clipboard
open override fun <T> currentValue(state: State<T>): T
Link copied to clipboard
open fun <T> newState(): MutableState<T?>
open override fun <T> newState(defaultValue: T): MutableState<T>
Link copied to clipboard
open override fun newStateContext(): StateContext
Link copied to clipboard
open override fun <T> useState(block: suspend StateContext.() -> T): Job