Server IP : 103.191.208.50 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /opt/bitninja-dispatcher/node_modules/async/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = timesSeries; var _timesLimit = require('./timesLimit.js'); var _timesLimit2 = _interopRequireDefault(_timesLimit); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /** * The same as [times]{@link module:ControlFlow.times} but runs only a single async operation at a time. * * @name timesSeries * @static * @memberOf module:ControlFlow * @method * @see [async.times]{@link module:ControlFlow.times} * @category Control Flow * @param {number} n - The number of times to run the function. * @param {AsyncFunction} iteratee - The async function to call `n` times. * Invoked with the iteration index and a callback: (n, next). * @param {Function} callback - see {@link module:Collections.map}. * @returns {Promise} a promise, if no callback is provided */ function timesSeries(n, iteratee, callback) { return (0, _timesLimit2.default)(n, 1, iteratee, callback); } module.exports = exports['default'];