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