Ron Buckton (2013-04-29T17:25:21.000Z)
github at esdiscuss.org (2013-07-12T02:26:54.545Z)
Was there consensus on the return value of the various generator methods being `{ value?, done? }` for `next`/`send`/`throw`? Is it needed for `close`? The desugaring for yield* in the face of using `{ value?, done? }` is more likely (without refutable matching or `let` expressions for the moment): ```js let a = yield* EXPR; ``` ```js let a; { let g = EXPR; let received = void 0, send = true, result = void 0; try { while (true) { let { value, done } = send ? g.send(received) : g.throw(received); if (done) { result = value; break; } try { received = yield value; send = true; } catch (e) { received = e; send = false; } } } finally { try { g.close(); } catch (ignored) { } } a = result; } ```