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

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

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