Skip to content

Commit

Permalink
fix cargoQueue return type. Closes #1704
Browse files Browse the repository at this point in the history
  • Loading branch information
aearly committed Feb 24, 2020
1 parent d13a589 commit 8141ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cargoQueue.js
Expand Up @@ -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
Expand Down

0 comments on commit 8141ac0

Please sign in to comment.