diff options
Diffstat (limited to 'lib/retryable.js')
-rw-r--r-- | lib/retryable.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/retryable.js b/lib/retryable.js index 45ef5ac..ad47351 100644 --- a/lib/retryable.js +++ b/lib/retryable.js @@ -2,14 +2,17 @@ import retry from './retry'; import initialParams from './internal/initialParams'; /** - * A close relative of `retry`. This method wraps a task and makes it + * ``` + * import retryable from 'async/retryable' + * ``` + * A close relative of [`retry`]{@link module:ControlFlow.retry}. This method wraps a task and makes it * retryable, rather than immediately calling it with retries. * * @name retryable * @static - * @memberOf module:async + * @memberOf module:ControlFlow * @method - * @see [async.retry]{@link module:async.retry} + * @see [async.retry]{@link module:ControlFlow.retry} * @category Control Flow * @param {Object|number} [opts = {times: 5, interval: 0}| 5] - optional * options, exactly the same as from `retry` |