Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 |
|
---|
| 7 | var _reject = require('./internal/reject');
|
---|
| 8 |
|
---|
| 9 | var _reject2 = _interopRequireDefault(_reject);
|
---|
| 10 |
|
---|
| 11 | var _doParallelLimit = require('./internal/doParallelLimit');
|
---|
| 12 |
|
---|
| 13 | var _doParallelLimit2 = _interopRequireDefault(_doParallelLimit);
|
---|
| 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 a maximum of `limit` async operations at a
|
---|
| 19 | * time.
|
---|
| 20 | *
|
---|
| 21 | * @name rejectLimit
|
---|
| 22 | * @static
|
---|
| 23 | * @memberOf module:Collections
|
---|
| 24 | * @method
|
---|
| 25 | * @see [async.reject]{@link module:Collections.reject}
|
---|
| 26 | * @category Collection
|
---|
| 27 | * @param {Array|Iterable|Object} coll - A collection to iterate over.
|
---|
| 28 | * @param {number} limit - The maximum number of async operations at a time.
|
---|
| 29 | * @param {Function} iteratee - An async truth test to apply to each item in
|
---|
| 30 | * `coll`.
|
---|
| 31 | * The should complete with a boolean value as its `result`.
|
---|
| 32 | * 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).
|
---|
| 35 | */
|
---|
| 36 | exports.default = (0, _doParallelLimit2.default)(_reject2.default);
|
---|
| 37 | module.exports = exports['default']; |
---|
Note:
See
TracBrowser
for help on using the repository browser.