Skip to main content
Merges a fixed set of streams. The result represents all of them: it ends once every member has ended — immediately, for an empty set — and one member’s error ends the whole merge. For a set that changes while the stream runs, use createStreamGroup (@spectrum-ts/core/authoring), which ends only on close() and drops a failed member instead of tearing down its siblings.

Parameters

readonly ManagedStream<T>[]
required

Returns

ManagedStream