Skip to main content
Module

x/async_channels/src/mod.ts>pipe.forEach

Inspired by Go & Clojure Channels, async_channels provides channels as an asynchronous communication method between asynchronous functions.
Latest
function pipe.forEach
import { pipe } from "https://deno.land/x/async_channels@v1.0.0-rc8/src/mod.ts";
const { forEach } = pipe;

Parameters

fn: (val: T) => unknown | Promise<unknown>
optional
pipeOpts: ChannelPipeOptions