Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a6986fe

Browse filesBrowse files
mafintoshtargos
authored andcommitted
async_hooks: remove deprecated example
PR-URL: #20998 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Backport-PR-URL: #21172
1 parent c09bfd8 commit a6986fe
Copy full SHA for a6986fe

File tree

Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-8
lines changed
Open diff view settings
Collapse file

‎doc/api/async_hooks.md‎

Copy file name to clipboardExpand all lines: doc/api/async_hooks.md
-8Lines changed: 0 additions & 8 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -615,14 +615,6 @@ asyncResource.asyncId();
615615

616616
// Return the trigger ID for the AsyncResource instance.
617617
asyncResource.triggerAsyncId();
618-
619-
// Call AsyncHooks before callbacks.
620-
// Deprecated: Use asyncResource.runInAsyncScope instead.
621-
asyncResource.emitBefore();
622-
623-
// Call AsyncHooks after callbacks.
624-
// Deprecated: Use asyncResource.runInAsyncScope instead.
625-
asyncResource.emitAfter();
626618
```
627619

628620
#### new AsyncResource(type[, options])

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.