Skip to content

Commit

Permalink
doc: simplify async_hooks overview
Browse files Browse the repository at this point in the history
Explain the purpose of async_hooks simply in the overview.

PR-URL: #31660
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott authored and codebytere committed Feb 17, 2020
1 parent 0e44902 commit 1e2327d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 1e2327d

Please sign in to comment.