Lines Matching refs:cargoQueue
1775 * Creates a `cargoQueue` object with the specified payload. Tasks added to the
1776 …* cargoQueue will be processed together (up to the `payload` limit) in `concurrency` parallel work…
1784 * the cargoQueue passes an array of tasks to multiple parallel workers.
1786 * @name cargoQueue
1801 * @returns {module:ControlFlow.QueueObject} A cargoQueue object to manage the tasks. Callbacks can
1803 * lifecycle of the cargoQueue and inner queue.
1806 * // create a cargoQueue object with payload 2 and concurrency 2
1807 * var cargoQueue = async.cargoQueue(function(tasks, callback) {
1815 * cargoQueue.push({name: 'foo'}, function(err) {
1818 * cargoQueue.push({name: 'bar'}, function(err) {
1821 * cargoQueue.push({name: 'baz'}, function(err) {
1824 * cargoQueue.push({name: 'boo'}, function(err) {
5846 cargoQueue: cargo$1,
5947 …lyEach, applyEachSeries, asyncify, auto, autoInject, cargo, cargo$1 as cargoQueue, compose, concat…