DispatchScope
The scope for accessing current state of the Redux store and dispatching actions. Beside standard Redux operations, it introduces a DispatchClosure mechanism.
Functions
This is equivalent to Redux dispatch.
Properties
There is no equivalent to this in original Redux. It provides a current DispatchClosure. It remains immutable. However, elements inside might mutate depending on their implementation.
Inheritors
Extensions
Returns CoroutineScope associated with a store.
Dispatches action and expects any middleware to launch a single foreground job logically associate with it. Coroutine is launched in a scope provided by DispatchCoroutineScope.
Dispatches action and expects any middleware to launch a single foreground job logically associate with it. This function suspends until foreground job is finished. When coroutine that calls this function is cancelled, foreground job is also cancelled.
Runs given block as a coroutine in DispatchScope.coroutineScope. Effectively it ensures that any operation on a DispatchScope inside a block runs on proper thread.
Adds local changes to LocalClosureContainer with a given closure for a time of block execution.