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>forEach

A better way to work with processes in Deno.
Very Popular
Go to Latest
function forEach
Re-export
import { forEach } from "https://deno.land/x/proc@0.20.43/src/deps/asynciter.ts";

Perform an operation for each item in the sequence.

Parameters

iterable: AsyncIterable<T>

The forEach function.

forEachFn: (item: T) => void | Promise<void>

Returns

Promise<void>