Skip to content

Commit

Permalink
docs(delay): update jsdoc [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
suguru03 committed Aug 9, 2017
1 parent 552a1aa commit 8f05477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/aigle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3078,6 +3078,8 @@ class Aigle extends AigleCore {
}

/**
* After a previous promise is resolved, the timer will be started with `ms`.
* After `ms`, the delay's promise will be resolved with the previous promise value.
* @param {number} ms
* @example
* Aigle.resolve()
Expand Down
1 change: 1 addition & 0 deletions lib/delay.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Delay extends Aigle {
module.exports = { delay, Delay };

/**
* Return a promise which will be resolved with `value` after `ms`.
* @param {number} ms
* @param {*} value
* @return {Aigle} Returns an Aigle instance
Expand Down

0 comments on commit 8f05477

Please sign in to comment.