diff options
Diffstat (limited to 'lib/waterfall.js')
-rw-r--r-- | lib/waterfall.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/waterfall.js b/lib/waterfall.js index 92783b2..e29ea42 100644 --- a/lib/waterfall.js +++ b/lib/waterfall.js @@ -21,7 +21,7 @@ import awaitify from './internal/awaitify.js' * @param {Function} [callback] - An optional callback to run once all the * functions have completed. This will be passed the results of the last task's * callback. Invoked with (err, [results]). - * @returns undefined + * @returns {Promise} a promise, if a callback is omitted * @example * * async.waterfall([ |