An open API service indexing awesome lists of open source software.

https://github.com/willscott/map-stream-concurrent

like map-stream, but with a specified degree of parallelism.
https://github.com/willscott/map-stream-concurrent

Last synced: 12 months ago
JSON representation

like map-stream, but with a specified degree of parallelism.

Awesome Lists containing this project

README

          

map-stream-concurrent
=====================

A concurrent extension to map-stream. Allows you to run a `map` function over
the chunks of a stream with n-way parallelism.

```javascript
var mapConcurrent = require('map-stream-concurrent');

mapConcurrent(10, function (data, callback) {
// transform data
callback(null, data);
});
```