diff options
Diffstat (limited to 'lib/constant.js')
-rw-r--r-- | lib/constant.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/constant.js b/lib/constant.js index 5cfc79c..5c325a1 100644 --- a/lib/constant.js +++ b/lib/constant.js @@ -2,13 +2,16 @@ import rest from 'lodash/rest'; import initialParams from './internal/initialParams'; /** + * ``` + * import constant from 'async/constant' + * ``` * Returns a function that when called, calls-back with the values provided. - * Useful as the first function in a `waterfall`, or for plugging values in to - * `auto`. + * Useful as the first function in a [`waterfall`]{@link module:ControlFlow.waterfall}, or for plugging values in to + * [`auto`]{@link module:ControlFlow.auto}. * * @name constant * @static - * @memberOf module:async + * @memberOf module:Utils * @method * @category Util * @param {...*} arguments... - Any number of arguments to automatically invoke |