I\'m trying to figure out how to get the value of a promise via yield, possibly with \"co\":
yield
function *(){ var someVar = yield functionThatR
Yes, co can do that. You'll have to wrap parent function inside co call:
co
co(function *(){ var someVar = yield functionThatReturnsAPromise(); })()
someVar inside will become resolved value. If promise gets rejected, error can be cought with basic try {} catch (e) {} statements.
someVar
try {} catch (e) {}