a zip code crypto-currency system good for red ONLY

timesSeries.js 1021B

1234567891011121314151617181920212223242526272829303132
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. var _timesLimit = require('./timesLimit');
  6. var _timesLimit2 = _interopRequireDefault(_timesLimit);
  7. var _doLimit = require('./internal/doLimit');
  8. var _doLimit2 = _interopRequireDefault(_doLimit);
  9. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  10. /**
  11. * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time.
  12. *
  13. * @name timesSeries
  14. * @static
  15. * @memberOf module:ControlFlow
  16. * @method
  17. * @see [async.times]{@link module:ControlFlow.times}
  18. * @category Control Flow
  19. * @param {number} n - The number of times to run the function.
  20. * @param {AsyncFunction} iteratee - The async function to call `n` times.
  21. * Invoked with the iteration index and a callback: (n, next).
  22. * @param {Function} callback - see {@link module:Collections.map}.
  23. */
  24. exports.default = (0, _doLimit2.default)(_timesLimit2.default, 1);
  25. module.exports = exports['default'];