Skip to content

Commit

Permalink
async_hooks: add migration note
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyBooth authored and Trott committed Nov 6, 2022
1 parent 4a258b2 commit d5b1604
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/api/async_hooks.md
Expand Up @@ -2,7 +2,10 @@

<!--introduced_in=v8.1.0-->

> Stability: 1 - Experimental
> Stability: 1 - Experimental. We plan to remove this API
> in the future; it will never become stable.
> Please migrate to [`AsyncLocalStorage`][], [Diagnostics Channel][], and
> other stable APIs.
<!-- source_link=lib/async_hooks.js -->

Expand Down Expand Up @@ -864,6 +867,7 @@ The documentation for this class has moved [`AsyncResource`][].
The documentation for this class has moved [`AsyncLocalStorage`][].
[DEP0111]: deprecations.md#dep0111-processbinding
[Diagnostics Channel]: diagnostics_channel.md
[Hook Callbacks]: #hook-callbacks
[PromiseHooks]: https://docs.google.com/document/d/1rda3yKGHimKIhg5YeoAmCOtyURgsbTH_qaYR79FELlk/edit
[`AsyncLocalStorage`]: async_context.md#class-asynclocalstorage
Expand Down

0 comments on commit d5b1604

Please sign in to comment.