pull-robin
v0.0.3
Published
Read source pull-streams, in round robin fashion.
Downloads
20
Maintainers
Readme
pull-robin
Read source pull-streams, in round robin fashion.
Usage
robin(?isSerial, streams...)
args
isSerial
- optional. If set to true, it will wait for a response from a stream, before reading from the next. Default is false.streams
- an array ofsource
streams, or a list ofsource
streams as args.
Example
var pull = require("pull-stream");
var robin = require("pull-robin");
pull(
robin(
pull.values([1,4,7]),
pull.values([2,5]),
pull.values([3,6,8])
),
pull.log()
)
install
With npm do:
npm install pull-robin
license
MIT