Sha256: a31d8005f2e84fb02e218922cf7bcd189e75b17066319db5e5c2827844818241

Contents?: true

Size: 653 Bytes

Versions: 48

Compression:

Stored size: 653 Bytes

Contents

'use strict';

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

var _eachOfLimit = require('./eachOfLimit');

var _eachOfLimit2 = _interopRequireDefault(_eachOfLimit);

var _wrapAsync = require('./wrapAsync');

var _wrapAsync2 = _interopRequireDefault(_wrapAsync);

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

function doParallelLimit(fn) {
    return function (obj, limit, iteratee, callback) {
        return fn((0, _eachOfLimit2.default)(limit), obj, (0, _wrapAsync2.default)(iteratee), callback);
    };
}
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/internal/doParallelLimit.js
disco_app-0.18.0 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.18.2 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.16.1 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.15.2 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.18.4 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.18.1 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.14.0 test/dummy/node_modules/async/internal/doParallelLimit.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/async/internal/doParallelLimit.js
tang-0.2.1 spec/tang_app/node_modules/async/internal/doParallelLimit.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/async/internal/doParallelLimit.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/async/internal/doParallelLimit.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/async/internal/doParallelLimit.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/async/internal/doParallelLimit.js
tang-0.2.0 spec/tang_app/node_modules/async/internal/doParallelLimit.js
tang-0.1.0 spec/tang_app/node_modules/async/internal/doParallelLimit.js
tang-0.0.9 spec/tang_app/node_modules/async/internal/doParallelLimit.js
enju_library-0.3.8 spec/dummy/node_modules/async/internal/doParallelLimit.js
ilog-0.4.1 node_modules/async/internal/doParallelLimit.js