Open madshargreave opened 4 years ago
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.
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