Distribute data chunks from a stream to other streams
With Node.js Readable
streams, you can be able to pipe them to several
destination streams, receiving all of them a copy of the same data. This module
allows instead to send each data chunk to a diferent destination stream each
time in a Round-Robin way.
npm install streams-dispatcher
- options: options passed to the underlaying
Writable
stream- inputOptions: options passed to the internal
input
stream - writers: list of
Writable
streams where to distribute the data chunks
- inputOptions: options passed to the internal
Move management of in-flight data chunks to its own independent module