Skip to content

Commit 76d6709

Browse files
mafintoshtargos
authored andcommitted
async_hooks: remove deprecated example
PR-URL: #20998 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: James M Snell <[email protected]> Backport-PR-URL: #21172
1 parent 8be3c97 commit 76d6709

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

doc/api/async_hooks.md

-8
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)