Skip to content

Commit a6986fe

Browse 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

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

doc/api/async_hooks.md

Lines changed: 0 additions & 8 deletions
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)