StateReceiver
An entity that handles MVIState updates. This entity modifies the state of the StateProvider. This is most often implemented by a Store and exposed through PipelineContext.
Inheritors
Properties
Obtain the current value of state in an unsafe manner. It is recommended to always use withState or updateState as obtaining this value can lead to data races when the state transaction changes the value of the state previously obtained.
Functions
Obtain the current StateProvider.state and update it with the result of transform.
A typed overload of StateReceiver.updateState.
A function that obtains current state and updates it atomically (in the thread context), and non-atomically in the coroutine context, which means it can cause races when you want to update states in parallel.
A typed overload of StateReceiver.updateStateImmediate.