PluginProbe
Force Refresh / 2.1.0
Force Refresh v2.1.0
3.2.1 3.2.0 3.1.2 3.1.1 3.1.0 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.2.0 2.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.10.0 2.10.1 2.10.2 2.11.0 2.11.1 2.12.0 All 54 releases
force-refresh / node_modules / handlebars / node_modules / async / applyEachSeries.js

applyEachSeries.js in Force Refresh 2.1.0, at node_modules/handlebars/node_modules/async/applyEachSeries.js

37 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 'use strict';
2
3 Object.defineProperty(exports, "__esModule", {
4 value: true
5 });
6
7 var _applyEach = require('./internal/applyEach');
8
9 var _applyEach2 = _interopRequireDefault(_applyEach);
10
11 var _mapSeries = require('./mapSeries');
12
13 var _mapSeries2 = _interopRequireDefault(_mapSeries);
14
15 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
17 /**
18 * The same as [`applyEach`]{@link module:ControlFlow.applyEach} but runs only a single async operation at a time.
19 *
20 * @name applyEachSeries
21 * @static
22 * @memberOf module:ControlFlow
23 * @method
24 * @see [async.applyEach]{@link module:ControlFlow.applyEach}
25 * @category Control Flow
26 * @param {Array|Iterable|Object} fns - A collection of {@link AsyncFunction}s to all
27 * call with the same arguments
28 * @param {...*} [args] - any number of separate arguments to pass to the
29 * function.
30 * @param {Function} [callback] - the final argument should be the callback,
31 * called when all functions have completed processing.
32 * @returns {Function} - If only the first argument is provided, it will return
33 * a function which lets you pass in the arguments as if it were a single
34 * function call.
35 */
36 exports.default = (0, _applyEach2.default)(_mapSeries2.default);
37 module.exports = exports['default'];