Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/proc/src/deps/asynciter.ts>forEach

A high-level way to run child processes that is easy, flexible, powerful, and prevents resource leaks.
Go to Latest
function forEach
Re-export
import { forEach } from "https://deno.land/x/proc@0.20.22/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>