123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- 'use strict';
- Object.defineProperty(exports, "__esModule", {
- value: true
- });
- var _createTester = require('./internal/createTester.js');
- var _createTester2 = _interopRequireDefault(_createTester);
- var _eachOfLimit = require('./internal/eachOfLimit.js');
- var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit);
- var _awaitify = require('./internal/awaitify.js');
- var _awaitify2 = _interopRequireDefault(_awaitify);
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
- function detectLimit(coll, limit, iteratee, callback) {
- return (0, _createTester2.default)(bool => bool, (res, item) => item)((0, _eachOfLimit2.default)(limit), coll, iteratee, callback);
- }
- exports.default = (0, _awaitify2.default)(detectLimit, 4);
- module.exports = exports.default;
|