map-stream-2-limited
Limited concurrency map-stream
implementation. Inspired by
map-stream-limit
but built on through2
and additionally allows the concurrency to be changed
after instantiation.
Somewhat experimental and likely to be caught out by edge cases...
Install
$ npm install map-stream-2-limited
Usage
var mapLimited = var transform = // initial concurrency limit of 10 someStream // Modify concurrency limit by supplying a transform functiontransform