1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- 'use strict';
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- var _eachOfLimit = require('./internal/eachOfLimit.js');
- var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit);
- var _withoutIndex = require('./internal/withoutIndex.js');
- var _withoutIndex2 = _interopRequireDefault(_withoutIndex);
- var _wrapAsync = require('./internal/wrapAsync.js');
- var _wrapAsync2 = _interopRequireDefault(_wrapAsync);
- var _awaitify = require('./internal/awaitify.js');
- var _awaitify2 = _interopRequireDefault(_awaitify);
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
- function eachLimit(coll, limit, iteratee, callback) {
- return (0, _eachOfLimit2.default)(limit)(coll, (0, _withoutIndex2.default)((0, _wrapAsync2.default)(iteratee)), callback);
- }
- exports.default = (0, _awaitify2.default)(eachLimit, 4);
- module.exports = exports.default;
|