|
|
|
|
|
by amelius
3748 days 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). |
|