ES6,ES7,ES8 and beyond. A Proposed Roadmap.
wingo at igalia.com
Tue Apr 23 05:54:38 PDT 2013
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
> 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!
More information about the es-discuss