1 | 'use strict';
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 |
|
7 | var _eachOfLimit = require('./internal/eachOfLimit.js');
|
8 |
|
9 | var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit);
|
10 |
|
11 | var _withoutIndex = require('./internal/withoutIndex.js');
|
12 |
|
13 | var _withoutIndex2 = _interopRequireDefault(_withoutIndex);
|
14 |
|
15 | var _wrapAsync = require('./internal/wrapAsync.js');
|
16 |
|
17 | var _wrapAsync2 = _interopRequireDefault(_wrapAsync);
|
18 |
|
19 | var _awaitify = require('./internal/awaitify.js');
|
20 |
|
21 | var _awaitify2 = _interopRequireDefault(_awaitify);
|
22 |
|
23 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 | function eachLimit(coll, limit, iteratee, callback) {
|
47 | return (0, _eachOfLimit2.default)(limit)(coll, (0, _withoutIndex2.default)((0, _wrapAsync2.default)(iteratee)), callback);
|
48 | }
|
49 | exports.default = (0, _awaitify2.default)(eachLimit, 4);
|
50 | module.exports = exports.default; |
\ | No newline at end of file |