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
12 lines • 512 B
TypeScript
import type { FlowSource } from "./FlowSource";
import type { SourcesType } from "./SourcesType";
/**
* return a readable stream that merges streams from sources
* don't get confused with merges
* mergeStream: returns a ReadableStream, which doesnt have upstream
* merges : returns a TransformStream, which also merges upstream
*/
export declare const mergeStream: {
<T, SRCS extends FlowSource<T>[]>(...streams: SRCS): ReadableStream<SourcesType<SRCS>>;
};
//# sourceMappingURL=mergeStream.d.ts.map