StateTransition<Event, In, Out> typedef
StateTransition<Event, In, Out> =
Out Function(Event event, In state)
Implementation
typedef StateTransition<Event, In, Out> = Out Function(Event event, In state);