asyncExpand method

EventSubscriptionBuilder<T> asyncExpand(
  1. Stream<T> convert(
    1. T element
    )
)

Transforms each element of this handler into a sequence of elements.

It extends the current builder where each element of this EventHandler is replaced by zero or more data events.

Implementation

EventSubscriptionBuilder<T> asyncExpand(
  Stream<T> Function(T element) convert,
) {
  return _AsyncExpandEventSubscriptionBuilder(parent: this, convert: convert);
}