node-continuation-local-storage
node-continuation-local-storage copied to clipboard
Impact of async_hook on the CLS
Hi,
It seems that the async hooks feature will be available soon in Node.js core (https://github.com/nodejs/node/pull/12953).
If a new version of the CLS is made using this features/ what would be the impact?
- can the CLS have a double behavior (one if 'async_hooks' is available, and one other)?
- will this mean that there will be fewer context loss?
Thanks a lot!
I don't know what's happening here, but here is a fork that will use async_hooks: https://github.com/Jeff-Lewis/cls-hooked/issues/4