InternalStoreOperations

Deprecated

Use StoreAccessor.externalState(), which is null when the store does not grant outside state.

Replace with

externalState()

Internal operations for specialized use cases like DevTools and testing.

This interface provides low-level access to store internals that bypasses the normal MVLI action/reducer/logic pipeline. It should ONLY be used for:

  • DevTools state synchronization from remote sources

  • Test fixtures and state setup

  • State restoration from external systems

Using this in normal application logic defeats the purpose of the MVLI architecture and should be avoided.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun applyExternalStates(states: Map<String, ModuleState>)

Replaces the state of the named modules without running their reducers.

Link copied to clipboard
abstract suspend fun beginExternalControl()

Puts the store under external control, making a remote publisher the author of its state.

Link copied to clipboard
abstract suspend fun endExternalControl()

Returns the store to local control, re-enabling the normal dispatch pipeline.

Link copied to clipboard
abstract fun markExternallyDriven()

Engages the dispatch gate synchronously, before any logic has had a chance to run.