-
Maybe `AsyncContext`? The name `AsyncLocalStorage` might let developers misunderstood it is the async version of localStorage.
-
## 🚀 Feature Proposal
Expose request context (at least the CLS part of it) as a global object instead of (or as an alternative to) asking users to access it through `req`/`app`.
## Motivation
The…
-
**Describe the bug**
My problem is related to #627 . As pretty much same thing is happening to me but not a custom repository but a service class. Is it cause I am not using a DI? I don't even know.
…
-
**Is your feature request related to a problem? Please describe.**
Some libraries may implement misbehaving AsyncResources for which the `destroy` callback won't be ever called. This would result in …
-
The description of the problem space and priorities in the README is great. For the solution, I see a signature of the classes and some high-level explanation of their role, but it'd be great to also …
-
Over the next several months I plan to work on async_hooks improvements full-time. I have several experiments I intend to try, so I will document my plans here and link to the PRs as I progress. I'm n…
-
**Is your feature request related to a problem? Please describe.**
In order to efficiently isolate identity maps across different requests, it is helpful to use Request Context functionality. Howev…
-
Hi! I Just discover this project and it's amazing! 🥇
I have several question about implementation to my project.
So, I have function like this:
```
export async function asyncSaveOfflineDb (...…
-
https://nodejs.org/dist/latest-v14.x/docs/api/async_hooks.html#async_hooks_class_asynclocalstorage provides a very similar experience of cls-hooked at a fraction of the overhead. It should use that in…
-
See https://nodejs.org/en/blog/release/v12.17.0/
AsyncLocalStorage is now also supported in Node 12, so that can be used in `fast-als` as well.