Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update async_hooks.md
  • Loading branch information
Trott authored Mar 29, 2022
commit 364eaa653e8d1e0b337e0964c7371b7ad112568c
4 changes: 2 additions & 2 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function after(asyncId) { }
function destroy(asyncId) { }

// promiseResolve() is called only for promise resources, when the
// `resolve` function passed to the `Promise` constructor is invoked
// resolve() function passed to the Promise constructor is invoked
// (either directly or through other means of resolving a promise).
function promiseResolve(asyncId) { }
```
Expand Down Expand Up @@ -124,7 +124,7 @@ function after(asyncId) { }
function destroy(asyncId) { }

// promiseResolve() is called only for promise resources, when the
// `resolve` function passed to the `Promise` constructor is invoked
// resolve() function passed to the Promise constructor is invoked
// (either directly or through other means of resolving a promise).
function promiseResolve(asyncId) { }
```
Expand Down