1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 |
|
7 | var _rejectLimit = require('./rejectLimit');
|
8 |
|
9 | var _rejectLimit2 = _interopRequireDefault(_rejectLimit);
|
10 |
|
11 | var _doLimit = require('./internal/doLimit');
|
12 |
|
13 | var _doLimit2 = _interopRequireDefault(_doLimit);
|
14 |
|
15 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
16 |
|
17 | /**
|
18 | * The same as [`reject`]{@link module:Collections.reject} but runs only a single async operation at a time.
|
19 | *
|
20 | * @name rejectSeries
|
21 | * @static
|
22 | * @memberOf module:Collections
|
23 | * @method
|
24 | * @see [async.reject]{@link module:Collections.reject}
|
25 | * @category Collection
|
26 | * @param {Array|Iterable|Object} coll - A collection to iterate over.
|
27 | * @param {Function} iteratee - An async truth test to apply to each item in
|
28 | * `coll`.
|
29 | * The should complete with a boolean value as its `result`.
|
30 | * Invoked with (item, callback).
|
31 | * @param {Function} [callback] - A callback which is called after all the
|
32 | * `iteratee` functions have finished. Invoked with (err, results).
|
33 | */
|
34 | exports.default = (0, _doLimit2.default)(_rejectLimit2.default, 1);
|
35 | module.exports = exports['default']; |
\ | No newline at end of file |