diff options
Diffstat (limited to 'lib/during.js')
-rw-r--r-- | lib/during.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/during.js b/lib/during.js index 943b3dd..e6016bb 100644 --- a/lib/during.js +++ b/lib/during.js @@ -2,16 +2,19 @@ import noop from 'lodash/noop'; import rest from 'lodash/rest'; /** - * Like {@link async.whilst}, except the `test` is an asynchronous function that + * ``` + * import during from 'async/during' + * ``` + * Like [`whilst`]{@link module:ControlFlow.whilst}, except the `test` is an asynchronous function that * is passed a callback in the form of `function (err, truth)`. If error is * passed to `test` or `fn`, the main callback is immediately called with the * value of the error. * * @name during * @static - * @memberOf module:async + * @memberOf module:ControlFlow * @method - * @see [async.whilst]{@link module:async.whilst} + * @see [async.whilst]{@link module:ControlFlow.whilst} * @category Control Flow * @param {Function} test - asynchronous truth test to perform before each * execution of `fn`. Invoked with (callback). |