Skip to content

Commit

Permalink
doc: list when promiseResolve hook was added to async_hooks
Browse files Browse the repository at this point in the history
PR-URL: #26978
Refs: #15296
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Signed-off-by: Beth Griggs <Bethany.Griggs@uk.ibm.com>
  • Loading branch information
watson authored and BethGriggs committed Apr 9, 2019
1 parent 8002d6a commit b88871e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,10 @@ does not depend on garbage collection, then this will not be an issue.

##### promiseResolve(asyncId)

<!-- YAML
added: v8.6.0
-->

* `asyncId` {number}

Called when the `resolve` function passed to the `Promise` constructor is
Expand Down

0 comments on commit b88871e

Please sign in to comment.