diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index b97bc73304a4d7..3a6a44d0f71a0d 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -615,14 +615,6 @@ asyncResource.asyncId(); // Return the trigger ID for the AsyncResource instance. asyncResource.triggerAsyncId(); - -// Call AsyncHooks before callbacks. -// Deprecated: Use asyncResource.runInAsyncScope instead. -asyncResource.emitBefore(); - -// Call AsyncHooks after callbacks. -// Deprecated: Use asyncResource.runInAsyncScope instead. -asyncResource.emitAfter(); ``` #### new AsyncResource(type[, options])