Reduce<State, Event> typedef
Reduce<State, Event> =
State Function(State state, Event event)
Describe how state update when event come
Implementation
typedef Reduce<State, Event> = State Function(State state, Event event);