Package Exports
- pull-robin
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pull-robin) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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