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

1234567891011121314151617181920212223242526272829303132333435
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _filterLimit = require('./filterLimit');
  6. var _filterLimit2 = _interopRequireDefault(_filterLimit);
  7. var _doLimit = require('./internal/doLimit');
  8. var _doLimit2 = _interopRequireDefault(_doLimit);
  9. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  10. /**
  11. * The same as [`filter`]{@link module:Collections.filter} but runs only a single async operation at a time.
  12. *
  13. * @name filterSeries
  14. * @static
  15. * @memberOf module:Collections
  16. * @method
  17. * @see [async.filter]{@link module:Collections.filter}
  18. * @alias selectSeries
  19. * @category Collection
  20. * @param {Array|Iterable|Object} coll - A collection to iterate over.
  21. * @param {Function} iteratee - A truth test to apply to each item in `coll`.
  22. * The `iteratee` is passed a `callback(err, truthValue)`, which must be called
  23. * with a boolean argument once it has completed. Invoked with (item, callback).
  24. * @param {Function} [callback] - A callback which is called after all the
  25. * `iteratee` functions have finished. Invoked with (err, results)
  26. */
  27. exports.default = (0, _doLimit2.default)(_filterLimit2.default, 1);
  28. module.exports = exports['default'];