diff options
author | Rich Trott <rtrott@gmail.com> | 2020-02-06 04:24:45 -1000 |
---|---|---|
committer | Shelley Vohr <shelley.vohr@gmail.com> | 2020-02-17 12:14:46 -0800 |
commit | 1e2327d9e6cef076153cb18cfe169e18c6c21c58 (patch) | |
tree | 8f70c616daa371faaad3fe07b30f299f3c7f38d4 /doc | |
parent | 0e44902b85e6b40fa094d89493174cec96b41c33 (diff) | |
download | node-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.md | 5 |
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'); |