-
Notifications
You must be signed in to change notification settings - Fork 225
AsyncLocalStorage doesn't work with async/await #1169
New issue
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
Comments
Hi @Janpot ! Thanks for opening this issue! You are correct! We'll keep this issue open and keep you posted! |
Thank you @Nemikolh. Are there any recommended ways to detect whether my package is running under Stackblitz? |
Yes! You can use |
Related to nuxt/nuxt#23032, it would be nice that if |
Is there any update on this? |
@birkskyum Last time I checked with the team, it needed native browser support. The best thing we might hope is to wait for AsyncContext proposal to move forward and browsers to implement it. |
In the proposal it states:
@mgechev do you have any idea about the horizon for Angular to sunset/revamp zone.js? I've struggled with it not being compatible with modern ts compile targets, so it's holding the ecosystem back in multiple dimensions, now all the way to the tc39 proposals well beyond angular. |
Description of Bug
AsyncLocalStorage
doesn't work well withasync
/await
Steps to Reproduce
node index.mjs
Expected Behavior
AsyncLocalStorage
in stackblitz works withasync
/await
.The text was updated successfully, but these errors were encountered: