JSPM

pull-robin

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q25195F

Read source pull-streams, in round robin fashion.

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 of source streams, or a list of source 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