Bruno Jouhier (2013-07-16T07:27:33.000Z)
domenic at domenicdenicola.com (2013-07-19T15:36:20.949Z)
I thought about `yield*` but it was not available at the time I wrote this. But it does not fit the bill because it deals with the synchonous part of the generator dance, not the async part. My run loop is if a bit more than the `yield*` loop (but not much more). The differences are the tests that deal with the PENDING case (https://github.com/bjouhier/galaxy/blob/master/lib/galaxy.js lines 83 and 88). I'm not using Q. I wanted to have minimal runtime overhead so I designed it so that it does not allocate any extra objects. It's all done with a simple loop.