asyncMap<S> method

  1. @override
Observable<S> asyncMap <S>(FutureOr<S> convert(T value))

Creates an Observable with each data event of this stream asynchronously mapped to a new event.

This acts like map, except that convert may return a Future, and in that case, the stream waits for that future to complete before continuing with its result.

The returned stream is a broadcast stream if this stream is.

Implementation

@override
Observable<S> asyncMap<S>(FutureOr<S> convert(T value)) =>
    Observable<S>(_stream.asyncMap(convert));