Musique/node_modules/async.parallellimit/index.js

9 lines
231 B
JavaScript
Raw Permalink Normal View History

'use strict';
var parallel = require('async.util.parallel');
var eachOfLimit = require('async.util.eachoflimit');
module.exports = function parallelLimit(tasks, limit, cb) {
return parallel(eachOfLimit(limit), tasks, cb);
};