Module

x/proc/tests/deps/asynciter.ts>AbstractAsyncIter#concurrentMap

A better way to work with processes in Deno.
Latest
method AbstractAsyncIter.prototype.concurrentMap
import { AbstractAsyncIter } from "https://dotland.deno.dev/x/proc@0.21.9/tests/deps/asynciter.ts";

Map the sequence from one type to another, concurrently.

Results are returned in order.

Parameters

mapFn: (item: T) => Promise<U>

The mapping function.

optional
concurrency: number

The maximum concurrency.

Returns

An iterable of mapped values.