pull-flow

parallel/serial flow for pull-streams

pull-flow

parallel/serial flow for pull streams

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

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

force reads to be serial.

call flow when the number of concurrent requests changes

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

MIT