Hydrate

constructor(states: Map<String, ModuleState>, origin: String)(source)

Deprecated

Write outside state through StoreAccessor.externalState(), which exists only when the store grants it. A raw Hydrate is dropped by a store that does not.

Replace with

externalState()?.hydrate(states, HydrateSource.External(origin))