multi-read-stream
Readable stream that reads from multiple readable streams at the same time. If you are looking for a readable stream that reads sequentially from other streams checkout multistream
npm install multi-read-stream
Usage
var from =var multi =var rs = multirsrs
API
stream = multi(arrayOfReadableStreams, [options])
Create a new multi read stream. Options are forwarded to the stream constructor. Other options include:
autoDestroy: true // destroy the stream if a child stream errorsend: true // end the stream when all child streams end
objStream = multi.obj(arrayOfReadableStreams, [options])
Same as above but sets objectMode = true
stream.add(otherStream)
Add a stream after creating the multi reader
stream.remove(otherStream)
Remove a stream after creating the multi reader
License
MIT