3 ms·
The problem with javascript coroutines is that you can only yield from within the generator itself, not from a called function. This makes it impossible, for i
by amelius 11y ago
The problem with javascript coroutines is that you can only yield from within the generator itself, not from a called function.
This makes it impossible, for instance, to write a nice I/O library that is to be called from within a generator (the library is supposed to yield on a blocking situation).