Path: blob/master/node_modules/async/applyEachSeries.js
1126 views
'use strict';12Object.defineProperty(exports, "__esModule", {3value: true4});56var _applyEach = require('./internal/applyEach.js');78var _applyEach2 = _interopRequireDefault(_applyEach);910var _mapSeries = require('./mapSeries.js');1112var _mapSeries2 = _interopRequireDefault(_mapSeries);1314function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }1516/**17* The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time.18*19* @name applyEachSeries20* @static21* @memberOf module:ControlFlow22* @method23* @see [async.applyEach]{@link module:ControlFlow.applyEach}24* @category Control Flow25* @param {Array|Iterable|AsyncIterable|Object} fns - A collection of {@link AsyncFunction}s to all26* call with the same arguments27* @param {...*} [args] - any number of separate arguments to pass to the28* function.29* @param {Function} [callback] - the final argument should be the callback,30* called when all functions have completed processing.31* @returns {AsyncFunction} - A function, that when called, is the result of32* appling the `args` to the list of functions. It takes no args, other than33* a callback.34*/35exports.default = (0, _applyEach2.default)(_mapSeries2.default);36module.exports = exports['default'];3738