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

Generators #49

Open
madshargreave opened this issue Aug 18, 2020 · 1 comment
Open

Generators #49

madshargreave opened this issue Aug 18, 2020 · 1 comment

Comments

@madshargreave
Copy link

I'm curious as to whether it's possible, and what it would take to support ES6 (async) generators.

I imagine we could support them through the stream APIs

@oohnoitz
Copy link
Contributor

This would depend on how you expect the generators to work. Currently, we expect a single return value at the end of execution. If we wanted to actually use generators to the full extent this will need to have its own API and handle things a lot differently and there's a wide range of scenarios to consider as well.

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

No branches or pull requests

2 participants