Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/async/promise.ts>map

Deno Standard Extensions
Go to Latest
function map
import { map } from "https://deno.land/x/yxz@0.17.0/async/promise.ts";

Parameters

iterable: Iterable<T> | AsyncIterable<T>
mapper: (data: T) => Promise<R>
optional
opts: { concurrency?: number; }

Returns

Promise<R[]>