summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Early <alexander.early@gmail.com>2020-02-23 18:06:15 -0800
committerAlexander Early <alexander.early@gmail.com>2020-02-23 18:06:15 -0800
commit8141ac011ee1c73c0e4f1eacfdc43a29a7b61b41 (patch)
treeafe5ca4ad1beee22c0b9c2809317bf51713f0cd4
parentd13a5894dd35bf14e5c492eefb2b843e04e6b208 (diff)
downloadasync-8141ac011ee1c73c0e4f1eacfdc43a29a7b61b41.tar.gz
fix cargoQueue return type. Closes #1704
-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