diff options
Diffstat (limited to 'lib/auto.js')
-rw-r--r-- | lib/auto.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/auto.js b/lib/auto.js index 6b5c3d2..c6f291c 100644 --- a/lib/auto.js +++ b/lib/auto.js @@ -10,6 +10,9 @@ import rest from 'lodash/rest'; import onlyOnce from './internal/onlyOnce'; /** + * ``` + * import auto from 'async/auto' + * ``` * Determines the best order for running the functions in `tasks`, based on * their requirements. Each function can optionally depend on other functions * being completed first, and each function is run as soon as its requirements @@ -26,7 +29,7 @@ import onlyOnce from './internal/onlyOnce'; * * @name auto * @static - * @memberOf module:async + * @memberOf module:ControlFlow * @method * @category Control Flow * @param {Object} tasks - An object. Each of its properties is either a |