1234567891011121314151617181920212223242526272829303132333435363738394041 |
- 'use strict';
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- exports.default = parallelLimit;
- var _eachOfLimit = require('./internal/eachOfLimit.js');
- var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit);
- var _parallel = require('./internal/parallel.js');
- var _parallel2 = _interopRequireDefault(_parallel);
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
- function parallelLimit(tasks, limit, callback) {
- return (0, _parallel2.default)((0, _eachOfLimit2.default)(limit), tasks, callback);
- }
- module.exports = exports.default;
|