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>
  • Loading branch information
watson authored and BethGriggs committed Apr 4, 2019
1 parent 03202e4 commit 66f0529
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 @@ -430,6 +430,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 66f0529

Please sign in to comment.