Skip to content

Takeafile/streams-dispatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Greenkeeper badge

streams-dispatcher

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.

Install

npm install streams-dispatcher

API

  • 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

TODO

Move management of in-flight data chunks to its own independent module

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published