Skip to content
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

AsyncLocalStorage API #612

Closed
QuiiBz opened this issue Feb 23, 2023 · 0 comments · Fixed by #684
Closed

AsyncLocalStorage API #612

QuiiBz opened this issue Feb 23, 2023 · 0 comments · Fixed by #684
Assignees
Milestone

Comments

@QuiiBz
Copy link
Member

QuiiBz commented Feb 23, 2023

This issue blocks #47

Next.js now uses AsyncLocalStorage internally (for RSC I believe?), which currently breaks because it's not implemented in Lagon.

Bun's implementation: https://github.com/oven-sh/bun/blob/dc634d3b302efc7e786b819dfd521c1f9dab1190/src/bun.js/async_hooks.exports.js#L11
Deno's implementation: https://github.com/denoland/deno/blob/da781280b8422b4116473b366fb7d207909a31da/ext/node/polyfills/async_hooks.ts#L271
Workerd's implementation: https://github.com/cloudflare/workerd/blob/77fd0ed6ddba184414f0216508fc62b06e716cab/src/workerd/api/node/async-hooks.c++#L9

@QuiiBz QuiiBz added this to the Beta milestone Feb 23, 2023
@QuiiBz QuiiBz mentioned this issue Feb 23, 2023
3 tasks
@QuiiBz QuiiBz self-assigned this Apr 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant