From 1e2327d9e6cef076153cb18cfe169e18c6c21c58 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 6 Feb 2020 04:24:45 -1000 Subject: [PATCH] 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 Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell --- doc/api/async_hooks.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 4f3039826bccfa..66534ca85029e6 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');