As of Node 0.11, V8 does not support the "return" method for generator iterators. Unfortunately, this is crucial for modelling streams with async generators (since we use "return" to close the stream). In order to proceed with experimentation we need to support, emulate, or hack "return".
Options:
Emulate "return" by just calling throw. This is clearly not correct and is quite problematic (since catch blocks might be executed), but it would at least unblock our research to some extent.
Use a generator compiler which supports "return" (i.e. regenerator), somehow.
As of Node 0.11, V8 does not support the "return" method for generator iterators. Unfortunately, this is crucial for modelling streams with async generators (since we use "return" to close the stream). In order to proceed with experimentation we need to support, emulate, or hack "return".
Options: