method Enumerable.prototype.concurrentMap
Enumerable.prototype.concurrentMap<U>(
mapFn: (item: T) => Promise<U>,
): Enumerable<U>

Map the sequence from one type to another, concurrently.

Results are returned in order. The order of processing is concurrent, and therefore somewhat arbitrary.

Type Parameters

Parameters

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

The mapping function.

Return Type

An iterable of mapped values.

Usage

import { Enumerable } from ".";