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

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

A better way to work with processes in Deno.
Very Popular
Go to Latest
method AbstractAsyncIter.prototype.map
import { AbstractAsyncIter } from "https://deno.land/x/proc@0.20.42/src/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.