asyncMap<R> method
Implementation
OffsetIterator<R> asyncMap<R>(
Future<R> Function(T) pred, {
String name = 'asyncMap',
SeedCallback<R>? seed,
int retention = 0,
int concurrency = 1,
bool? cancelOnError,
bool bubbleCancellation = true,
}) =>
transform(
(item) => pred(item).then((v) => [v]),
name: name,
seed: seed,
retention: retention,
concurrency: concurrency,
bubbleCancellation: bubbleCancellation,
cancelOnError: cancelOnError,
);