TransitionFunction<Event, State> typedef
TransitionFunction<Event, State> =
Stream<TransformController<Event, State> > Function(Event)
Signature for a mapper function which takes an Event
as input
and outputs a Stream of TransformController objects.
Implementation
typedef TransitionFunction<Event, State>
= Stream<TransformController<Event, State>> Function(Event);