pull-flow

1.0.0 • Public • Published

pull-flow

parallel/serial flow for pull streams

4 simple functions to drop into a pull-stream pipeline, to mainipulate the level of asynchronicity

parallel (hwm, lwm)

Start hwm parallel reads, and start reading again when the buffer falls below lwm

serial ()

force reads to be serial.

detect(flow)

call flow when the number of concurrent requests changes

async

forces a stream to be async - by delaying the callback until nextTick.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i pull-flow

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • nopersonsmodules