Skip to content
Prev Previous commit
Next Next commit
improve intro
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
  • Loading branch information
Flarna and GeoffreyBooth authored Nov 9, 2022
commit 9dc833e2d0d12bba1935ab7dd04d2f0364a1296a
4 changes: 2 additions & 2 deletions doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

<!-- source_link=lib/async_hooks.js -->

There are other APIs available to replace `async_hooks` at least for most use
cases. Migrate/use them instead of using `async_hooks`. For example:
We strongly discourage the use of the `async_hooks` API.
Other APIs that can cover most of its use cases include:

* [`AsyncLocalStorage`][] tracks async context
* [`process.getActiveResourcesInfo()`][] tracks active resources
Expand Down