sflow
Version:
sflow is a powerful and highly-extensible library designed for processing and manipulating streams of data effortlessly. Inspired by the functional programming paradigm, it provides a rich set of utilities for transforming streams, including chunking, fil
11 lines (10 loc) • 392 B
TypeScript
import type { FlowSource } from "./FlowSource";
/**
* return a transform stream that merges streams from sources
* don't get confused with mergeStreamw
* merges : returns a TransformStream, which also merges upstream
* mergeStream: returns a ReadableStream, which doesnt have upstream
*/
export declare const merges: {
<T>(...streams: FlowSource<T>[]): TransformStream<T, T>;
};