Sha256: d24c12bf748214ae3a2b7a56a5b5b8023eeaec7649341b55e3f4b82aac758c93

Contents?: true

Size: 1.24 KB

Versions: 48

Compression:

Stored size: 1.24 KB

Contents

'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _reject = require('./internal/reject');

var _reject2 = _interopRequireDefault(_reject);

var _doParallelLimit = require('./internal/doParallelLimit');

var _doParallelLimit2 = _interopRequireDefault(_doParallelLimit);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

/**
 * The same as [`reject`]{@link module:Collections.reject} but runs a maximum of `limit` async operations at a
 * time.
 *
 * @name rejectLimit
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.reject]{@link module:Collections.reject}
 * @category Collection
 * @param {Array|Iterable|Object} coll - A collection to iterate over.
 * @param {number} limit - The maximum number of async operations at a time.
 * @param {Function} iteratee - An async truth test to apply to each item in
 * `coll`.
 * The should complete with a boolean value as its `result`.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called after all the
 * `iteratee` functions have finished. Invoked with (err, results).
 */
exports.default = (0, _doParallelLimit2.default)(_reject2.default);
module.exports = exports['default'];

Version data entries

48 entries across 46 versions & 11 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/async/rejectLimit.js
disco_app-0.18.0 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.18.2 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.16.1 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.15.2 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.18.4 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.18.1 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.14.0 test/dummy/node_modules/async/rejectLimit.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/async/rejectLimit.js
tang-0.2.1 spec/tang_app/node_modules/async/rejectLimit.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/async/rejectLimit.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/async/rejectLimit.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/async/rejectLimit.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/async/rejectLimit.js
tang-0.2.0 spec/tang_app/node_modules/async/rejectLimit.js
tang-0.1.0 spec/tang_app/node_modules/async/rejectLimit.js
tang-0.0.9 spec/tang_app/node_modules/async/rejectLimit.js
enju_library-0.3.8 spec/dummy/node_modules/async/rejectLimit.js
ilog-0.4.1 node_modules/async/rejectLimit.js