Store

public struct Store<State>: StoreType

Store implementation

Strongly typed alias examples: - typealias AppState = Any - typealias Subscriber = AppState -> () - typealias Store = Store<AppState>

Parameters: - dispatch: Dispatch = Action -> Action - subscribe: Subscriber = (() -> State) -> ReduxDisposable - getState: () -> State - state: State