Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6a3a178] | 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']; |
---|
Note:
See
TracBrowser
for help on using the repository browser.