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