From 8f8fd4d47de02191fffc822e07ba28eb772ba8f7 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 c2c0d7e1da65b0..edf92b08d572fd 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');