fanout-streams
Logical grouping of writable-streams in parallel
Install
npm install fanout-streams
Use
publisher.pipestream publisher.push'cat'//=>1: cat//=>2: cat//=>3: cat
Related
Logical grouping of transform-streams in series: encapsulate-streams
Index
Functions
Functions
fanoutStreams
▸ fanoutStreams(...streams: Writable
[]): Writable
Defined in fanout-streams.ts:13
Return a single writable stream that fans received chunks out to each input-stream.
Parameters:
Name | Type |
---|---|
Rest streams |
Writable [] |
Returns: Writable