Store
Properties
The installed DispatchInstrumentation, or null when none is installed or the installed one reports DispatchInstrumentation.isActive as false.
true while a remote publisher authors this store's state.
Functions
Registers a CrashListener to be notified when logic invocation throws.
Replaces the state of the named modules without running their reducers.
Provides access to internal store operations for specialized use cases.
Puts the store under external control, making a remote publisher the author of its state.
Dispatch an action and wait for it to be processed. Returns a DispatchResult indicating whether the action was applied or blocked.
Returns the store to local control, re-enabling the normal dispatch pipeline.
A snapshot of every registered module's current state, keyed by the state class's qualified name.
Returns the logic instance for the given module, suspending until the store is fully initialized.
Returns all modules registered in this store.
Engages the dispatch gate synchronously, before any logic has had a chance to run.
Removes a previously registered CrashListener.
Launches reset on the store's root job and returns immediately.
Select a module's logic instance by its class.
Selects a module's logic instance by its type.
Select a module's state flow by its class.
Selects a module's state flow by its type.
Installs the instrumentation that observes this store, or null to remove it.