Store
-
Stores and mutates the state of an application.
See moreDeclaration
-
Creates a proxy of the store object for use by middleware.
Middleware may use the store proxy to retreive the current state, send actions, continue to the next middleware, or subscribe to store changes. With the proxy, middleware don’t have to worry about retaining the store. Instead, the proxy provides a safe API to access a weak reference to it.
See moreDeclaration
Swift
public struct StoreProxy<State> : StateStorable, ActionDispatcher