concurrent<Event> function

EventTransformer<Event> concurrent<Event>()

Process events concurrently.

Note: there may be event handler overlap and state changes will occur as soon as they are emitted. This means that states may be emitted in an order that does not match the order in which the corresponding events were added.

Implementation

EventTransformer<Event> concurrent<Event>() {
  return (events, mapper) => events.concurrentAsyncExpand(mapper);
}