pub type Store<S> = Store<State, S, Action>;
Aliased Type§
pub struct Store<S> {
pub state: StateWrapper<State>,
pub service: S,
/* private fields */
}
Fields§
§state: StateWrapper<State>
Current State.
Immutable access can be gained using store.state.get()
.
Mutation can only happen inside reducer.
service: S