Andy Wingo (2013-04-23T12:54:38.000Z)
github at esdiscuss.org (2013-07-12T02:26:57.369Z)
On Tue 23 Apr 2013 13:56, "Mark S. Miller" <erights at google.com> writes: > Hi Andy, look again at Domenic's gist at > <https://gist.github.com/domenic/5428522> and the Q.async definition it > uses at > <http://wiki.ecmascript.org/doku.php?id=strawman:async_functions#reference_ > implementation>. I think the only proposed difference between "await" > and "yield" is the name. The notion is that, when using ES6 generators > and yield to get the effect associated with "await" in C#, he'd rather > use the term "await" at the same time he's rather say "function^ ...." > rather than "Q.async(function* ....". Other than these two simple local > desugarings, "yield" and "await" are synonyms. Yes, I think I misunderstood the proposal. Thanks for clarifying it for me, and apologies for the noise!