combineEpics<State> function

Epic<State> combineEpics<State>(
  1. List<Epic<State>> epics
)

Combines a list of Epics into one.

Implementation

Epic<State> combineEpics<State>(List<Epic<State>> epics) {
  return (Stream<Action> actions, ValueStream<State> state) {
    return MergeStream<Action>(epics.map((Epic<State> epic) => epic(actions, state)));
  };
}