@@ -11,17 +11,17 @@ import onlyOnce from './internal/onlyOnce';
1111import wrapAsync from './internal/wrapAsync' ;
1212
1313/**
14- * Determines the best order for running the functions in `tasks`, based on
14+ * Determines the best order for running the { @link AsyncFunction}s in `tasks`, based on
1515 * their requirements. Each function can optionally depend on other functions
1616 * being completed first, and each function is run as soon as its requirements
1717 * are satisfied.
1818 *
19- * If any of the functions pass an error to their callback, the `auto` sequence
19+ * If any of the { @link AsyncFunction}s pass an error to their callback, the `auto` sequence
2020 * will stop. Further tasks will not execute (so any other functions depending
2121 * on it will not run), and the main `callback` is immediately called with the
2222 * error.
2323 *
24- * Functions also receive an object containing the results of functions which
24+ * { @link AsyncFunction}s also receive an object containing the results of functions which
2525 * have completed so far as the first argument, if they have dependencies. If a
2626 * task function has no dependencies, it will only be passed a callback.
2727 *
@@ -31,7 +31,7 @@ import wrapAsync from './internal/wrapAsync';
3131 * @method
3232 * @category Control Flow
3333 * @param {Object } tasks - An object. Each of its properties is either a
34- * function or an array of requirements, with the function itself the last item
34+ * function or an array of requirements, with the { @link AsyncFunction} itself the last item
3535 * in the array. The object's key of a property serves as the name of the task
3636 * defined by that property, i.e. can be used when specifying requirements for
3737 * other tasks. The function receives one or two arguments:
0 commit comments