Skip to main content
Module

x/async_channels/mod.ts>merge

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

Type Parameters

optional
T1 = unknown
optional
T2 = T1

Parameters

inChans: [Receiver<T1>, Receiver<T2>]
optional
options: ChannelPipeOptions

Type Parameters

optional
T1 = unknown
optional
T2 = T1
optional
T3 = T2