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

Async/Await Support in the future #1468

Closed
torch2424 opened this issue Sep 18, 2020 · 3 comments
Closed

Async/Await Support in the future #1468

torch2424 opened this issue Sep 18, 2020 · 3 comments

Comments

@torch2424
Copy link
Contributor

Was chatting with @RReverser after they gave their awesome Asyncify talk from Wasm Live!

Asyncify is a tool that binaryen provides. And given the nature of our JS background, would be cool if we could utilize Asyncify in some way to implement Async/Await.

More of an idea, that something actionable today. But worth considering for the future! 😄

@torch2424 torch2424 self-assigned this Sep 18, 2020
@torch2424 torch2424 changed the title Async/Await Support Async/Await Support in the future Sep 18, 2020
@MaxGraey
Copy link
Member

MaxGraey commented Sep 18, 2020

Hey, I guess we already discuss about this here or in slack long time ago. Asyncify definitely useful but only for cross module boundary. Internally we picked asymmetric stackless coroutines which first of all be a construction block for generators which will utilized by async/await afterwards=)

@torch2424
Copy link
Contributor Author

@MaxGraey

Ah! Thanks for calling out #376 ! And thanks for expanding on it! I'll close this issue as a duplicate! Thanks 😄

@MaxGraey
Copy link
Member

No problem)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants