rxstore library

Classes

Action
An action contains only data that is to be sent to a Store or an Epic.
Store<State>
A store to hold the state of the app.

Functions

combineEpics<State>(List<Epic<State>> epics) Epic<State>
Combines a list of Epics into one.
combineReducers<State>(List<Reducer<State>> reducers) Reducer<State>
Combines a list of Reducers into one.

Typedefs

Epic<State> = Stream<Action> Function(Stream<Action> actions, ValueStream<State> state)
An epic is used for asynchronous operations based on an action.
Reducer<State> = State Function(State state, Action action)
A reducer takes the current State and an Action and returns the new state.