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

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

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Very Popular
Go to Latest
method AbstractAsyncIter.prototype.map
import { AbstractAsyncIter } from "https://deno.land/x/proc@0.20.16/tests/deps/asynciter.ts";

Map the sequence from one type to another.

Parameters

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

The mapping function.

Returns

An iterable of mapped values.