diff options
Diffstat (limited to 'lib/dir.js')
-rw-r--r-- | lib/dir.js | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,15 +1,18 @@ import consoleFunc from './internal/consoleFunc'; /** + * ``` + * import dir from 'async/dir' + * ``` * Logs the result of an `async` function to the `console` using `console.dir` * to display the properties of the resulting object. Only works in Node.js or * in browsers that support `console.dir` and `console.error` (such as FF and * Chrome). If multiple arguments are returned from the async function, * `console.dir` is called on each argument in order. * - * @name log + * @name dir * @static - * @memberOf module:async + * @memberOf module:Utils * @method * @category Util * @param {Function} function - The function you want to eventually apply all |