function mapParallel
mapParallel<T, U>(fn: (item: T) => Promise<U>)

Map over a promise-returning function in parallel (Promise.all)

Type Parameters

Parameters

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

Return Type

Usage

import { mapParallel } from "docs/utilities.ts";