Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A better way to work with processes in Deno.
Go to Latest
function forEach
Re-export
import { forEach } from "https://deno.land/x/proc@0.21.0/tests/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>