EventMapper<Event> typedef

EventMapper<Event> = Stream<Event> Function(Event event)

Signature for a function which converts an incoming event into an outbound stream of events. Used when defining custom EventTransformers.

Implementation

typedef EventMapper<Event> = Stream<Event> Function(Event event);