transformer property

EventTransformer transformer
getter/setter pair

The default EventTransformer used for all event handlers. By default all events are processed concurrently.

If a custom transformer is specified for a particular event handler, it will take precendence over the global transformer.

See also:

Implementation

static EventTransformer<dynamic> transformer = (events, mapper) {
  return events
      .map(mapper)
      .transform<dynamic>(const _FlatMapStreamTransformer<dynamic>());
};