@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
19 lines (16 loc) • 467 B
text/typescript
// ets_tracing: off
import type * as C from "../core.js"
import * as MergeAll from "./mergeAll.js"
export function mergeAllUnbounded<Env, InErr, InElem, InDone, OutErr, OutElem>(
channels: C.Channel<
Env,
InErr,
InElem,
InDone,
OutErr,
C.Channel<Env, InErr, InElem, InDone, OutErr, OutElem, any>,
any
>
): C.Channel<Env, InErr, InElem, InDone, OutErr, OutElem, any> {
return MergeAll.mergeAll_(channels, Number.MAX_SAFE_INTEGER)
}