forEachAsync method

Future<void> forEachAsync(
  1. Future<void> forEach(
    1. V element
    ), [
  2. int parallels = 1
])

Iterable elements with support async function and runs it's in parallels

Implementation

Future<void> forEachAsync(Future<void> Function(V element) forEach,
        [int parallels = 1]) =>
    fn.forEachAsync(this, forEach, parallels);