★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/a6986fe8b6Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

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
  • Loading branch information...
mafintosh authored and targos committed May 28, 2018
1 parent c09bfd8 commit a6986fe8b6f704cb216511e8b22e6ab639647141
Showing with 0 additions and 8 deletions.
  1. +0 −8 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])

0 comments on commit a6986fe

Please sign in to comment.
You can’t perform that action at this time.