From 8141ac011ee1c73c0e4f1eacfdc43a29a7b61b41 Mon Sep 17 00:00:00 2001 From: Alexander Early Date: Sun, 23 Feb 2020 18:06:15 -0800 Subject: [PATCH] fix cargoQueue return type. Closes #1704 --- lib/cargoQueue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cargoQueue.js b/lib/cargoQueue.js index 381195a14..482314537 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