summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-02-06 04:24:45 -1000
committerShelley Vohr <shelley.vohr@gmail.com>2020-02-17 12:14:46 -0800
commit1e2327d9e6cef076153cb18cfe169e18c6c21c58 (patch)
tree8f70c616daa371faaad3fe07b30f299f3c7f38d4 /doc
parent0e44902b85e6b40fa094d89493174cec96b41c33 (diff)
downloadnode-new-1e2327d9e6cef076153cb18cfe169e18c6c21c58.tar.gz
doc: simplify async_hooks overview
Explain the purpose of async_hooks simply in the overview. PR-URL: https://github.com/nodejs/node/pull/31660 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/async_hooks.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md
index 4f3039826b..66534ca850 100644
--- a/doc/api/async_hooks.md
+++ b/doc/api/async_hooks.md
@@ -4,9 +4,8 @@
> Stability: 1 - Experimental
-The `async_hooks` module provides an API to register callbacks tracking the
-lifetime of asynchronous resources created inside a Node.js application.
-It can be accessed using:
+The `async_hooks` module provides an API to track asynchronous resources. It
+can be accessed using:
```js
const async_hooks = require('async_hooks');