ImmutableStore
A Store that does not allow sending intents.
See also
Inheritors
Properties
The name of the store. Used for debugging purposes and when storing multiple stores in a collection. Optional and configured through a pro.respawn.flowmvi.dsl.StoreBuilder
Functions
Wait while the Store is started. If it is already started, returns immediately.
Suspend until the store is closed
Starts store intent processing in a new coroutine in the given scope. Intents are processed as long as the parent scope is active.
Subscribe to the store, obtaining a Provider to consume MVIStates and MVIActions. The store itself does not expose actions or states to prevent subscribers from affecting the store and to keep track of each subscription. When subscribe is invoked, a new StorePlugin.onSubscribe event is sent to all plugins with the new subscriber count. For more, see StorePlugin.