Skip to main content
Deno 2 is finally 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.18/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>