Sha256: 78067bdf53804c5b18c5f6a6a79cfc9493735b0f0cd5989f7d45e7dbf680b1d7

Contents?: true

Size: 1.18 KB

Versions: 48

Compression:

Stored size: 1.18 KB

Contents

'use strict';

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

var _mapLimit = require('./mapLimit');

var _mapLimit2 = _interopRequireDefault(_mapLimit);

var _doLimit = require('./internal/doLimit');

var _doLimit2 = _interopRequireDefault(_doLimit);

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

/**
 * The same as [`map`]{@link module:Collections.map} but runs only a single async operation at a time.
 *
 * @name mapSeries
 * @static
 * @memberOf module:Collections
 * @method
 * @see [async.map]{@link module:Collections.map}
 * @category Collection
 * @param {Array|Iterable|Object} coll - A collection to iterate over.
 * @param {AsyncFunction} iteratee - An async function to apply to each item in
 * `coll`.
 * The iteratee should complete with the transformed item.
 * Invoked with (item, callback).
 * @param {Function} [callback] - A callback which is called when all `iteratee`
 * functions have finished, or an error occurs. Results is an array of the
 * transformed items from the `coll`. Invoked with (err, results).
 */
exports.default = (0, _doLimit2.default)(_mapLimit2.default, 1);
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/mapSeries.js
disco_app-0.18.0 test/dummy/node_modules/async/mapSeries.js
disco_app-0.18.2 test/dummy/node_modules/async/mapSeries.js
disco_app-0.16.1 test/dummy/node_modules/async/mapSeries.js
disco_app-0.15.2 test/dummy/node_modules/async/mapSeries.js
disco_app-0.18.4 test/dummy/node_modules/async/mapSeries.js
disco_app-0.18.1 test/dummy/node_modules/async/mapSeries.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/async/mapSeries.js
disco_app-0.14.0 test/dummy/node_modules/async/mapSeries.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/async/mapSeries.js
tang-0.2.1 spec/tang_app/node_modules/async/mapSeries.js
groonga-client-model-6.0.0 test/apps/rails6.0.3.5/node_modules/async/mapSeries.js
groonga-client-model-6.0.0 test/apps/rails6.1.3/node_modules/async/mapSeries.js
ruby2js-4.0.4 lib/tasks/testrails/node_modules/async/mapSeries.js
ruby2js-4.0.3 lib/tasks/testrails/node_modules/async/mapSeries.js
tang-0.2.0 spec/tang_app/node_modules/async/mapSeries.js
tang-0.1.0 spec/tang_app/node_modules/async/mapSeries.js
tang-0.0.9 spec/tang_app/node_modules/async/mapSeries.js
enju_library-0.3.8 spec/dummy/node_modules/async/mapSeries.js
ilog-0.4.1 node_modules/async/mapSeries.js