summaryrefslogtreecommitdiff
path: root/lib/cargoQueue.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cargoQueue.js')
-rw-r--r--lib/cargoQueue.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cargoQueue.js b/lib/cargoQueue.js
index 381195a..4823145 100644
--- a/lib/cargoQueue.js
+++ b/lib/cargoQueue.js
@@ -27,7 +27,7 @@ import queue from './internal/queue';
* @param {number} [payload=Infinity] - An optional `integer` for determining
* how many tasks should be processed per round; if omitted, the default is
* unlimited.
- * @returns {module:ControlFlow.CargoObject} A cargoQueue object to manage the tasks. Callbacks can
+ * @returns {module:ControlFlow.QueueObject} A cargoQueue object to manage the tasks. Callbacks can
* attached as certain properties to listen for specific events during the
* lifecycle of the cargoQueue and inner queue.
* @example