3 Object.defineProperty(exports, "__esModule", {
7 var _filter = require('./internal/filter');
9 var _filter2 = _interopRequireDefault(_filter);
11 var _doParallelLimit = require('./internal/doParallelLimit');
13 var _doParallelLimit2 = _interopRequireDefault(_doParallelLimit);
15 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18 * The same as [`filter`]{@link module:Collections.filter} but runs a maximum of `limit` async operations at a
23 * @memberOf module:Collections
25 * @see [async.filter]{@link module:Collections.filter}
27 * @category Collection
28 * @param {Array|Iterable|Object} coll - A collection to iterate over.
29 * @param {number} limit - The maximum number of async operations at a time.
30 * @param {Function} iteratee - A truth test to apply to each item in `coll`.
31 * The `iteratee` is passed a `callback(err, truthValue)`, which must be called
32 * with a boolean argument once it has completed. Invoked with (item, callback).
33 * @param {Function} [callback] - A callback which is called after all the
34 * `iteratee` functions have finished. Invoked with (err, results).
36 exports.default = (0, _doParallelLimit2.default)(_filter2.default);
37 module.exports = exports['default'];