Are Promises and Microtasks introduced into ES6?
yusukesuzuki at chromium.org
Thu Oct 3 10:41:20 PDT 2013
Thu, Oct 3, 2013 at 11:43 PM, Alex Russell <slightlyoff at google.com> wrote:
> Only that a suitable hook is needed that embedders can implement. Luckily
> that's simple WRT existing semantics (we are oblivious to future turns at
> the language level) and doesn't demand that we import the event loop itself
> into the language. The only requirement is that promises are async WRT the
> calling code. Delivery at the end of the current turn is allowed.
> Object.observe will require that we define an order, but until then, hand
> waving is sufficient.
Make sense. So microtasks won't be introduced yet, but Promises and
asynchronous execution semantics (enough for Promises) are introduced into
ES6. Is it correct?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss