Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _createTester = require('./internal/createTester');
  6. var _createTester2 = _interopRequireDefault(_createTester);
  7. var _doParallelLimit = require('./internal/doParallelLimit');
  8. var _doParallelLimit2 = _interopRequireDefault(_doParallelLimit);
  9. var _notId = require('./internal/notId');
  10. var _notId2 = _interopRequireDefault(_notId);
  11. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  12. /**
  13. * The same as [`every`]{@link module:Collections.every} but runs a maximum of `limit` async operations at a time.
  14. *
  15. * @name everyLimit
  16. * @static
  17. * @memberOf module:Collections
  18. * @method
  19. * @see [async.every]{@link module:Collections.every}
  20. * @alias allLimit
  21. * @category Collection
  22. * @param {Array|Iterable|Object} coll - A collection to iterate over.
  23. * @param {number} limit - The maximum number of async operations at a time.
  24. * @param {AsyncFunction} iteratee - An async truth test to apply to each item
  25. * in the collection in parallel.
  26. * The iteratee must complete with a boolean result value.
  27. * Invoked with (item, callback).
  28. * @param {Function} [callback] - A callback which is called after all the
  29. * `iteratee` functions have finished. Result will be either `true` or `false`
  30. * depending on the values of the async tests. Invoked with (err, result).
  31. */
  32. exports.default = (0, _doParallelLimit2.default)((0, _createTester2.default)(_notId2.default, _notId2.default));
  33. module.exports = exports['default'];