StateProducerScope

interface StateProducerScope<T> : CoroutineScope

Properties

Link copied to clipboard

Functions

Link copied to clipboard
abstract fun update(newValue: T)
abstract fun update(newValueFunction: (T) -> T)
Link copied to clipboard
abstract fun updateSync(newValue: T)
abstract fun updateSync(newValueFunction: (T) -> T)