combineReduce<State, Event> function
Implementation
Reduce<State, Event>? combineReduce<State, Event>(
Reduce<State, Event>? reduce,
Reduce<State, Event>? nextReduce,
) {
return _combine(
reduce,
nextReduce,
combine: (reduce, nextReduce) {
return (state, event) => nextReduce(reduce(state, event), event);
});
}