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.
- Host: GitHub
- URL: https://github.com/willscott/map-stream-concurrent
- Owner: willscott
- Created: 2015-04-30T17:23:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2018-11-26T17:35:24.000Z (over 7 years ago)
- Last Synced: 2025-03-07T08:51:10.351Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
});
```