4 ms·
Javascript generators make for painful coroutines, because a function called by the generator can't yield all the way out.
by Dylan16807 9y ago
Javascript generators make for painful coroutines, because a function called by the generator can't yield all the way out.
- yuchi 9y agoYield * fn()?
- Dylan16807 9y agoYou can use that sometimes, but it really complicates return values in a way Lua just doesn't have to deal with.