We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since node 13 AsyncLocalStorage has been added.
https://nodejs.org/api/async_hooks.html#async_hooks_class_asynclocalstorage
I think we should port to that.
The API looks fairly clean.
The text was updated successfully, but these errors were encountered:
Are there any plans to do this? nodejs/node#35286 - seems like this API is much closer to being stable than Async Hooks.
Sorry, something went wrong.
For our project the plain AsyncLocalStorage is enough.
To me it looks like the porting is only useful to keep the cls-hooked API and have an updated npm package to existing projects.
I think actually that the porting will result in just a wrapping of AsyncLocalStorage methods to the cls-hook api names.
And why not @SimonX200?
No branches or pull requests
Since node 13 AsyncLocalStorage has been added.
https://nodejs.org/api/async_hooks.html#async_hooks_class_asynclocalstorage
I think we should port to that.
The API looks fairly clean.
The text was updated successfully, but these errors were encountered: