elixir-nodejs
elixir-nodejs copied to clipboard
Generators
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
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.