UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

13 lines (10 loc) 349 B
// ets_tracing: off import type * as C from "../core.js" import * as MergeAll from "./mergeAll.js" /** * Like `mergeAll`, but runs all streams concurrently. */ export function mergeAllUnbounded(outputBuffer = 16) { return <R, E, O>(...streams: C.Stream<R, E, O>[]) => MergeAll.mergeAll(Number.MAX_SAFE_INTEGER, outputBuffer)(...streams) }