Promise/Future: asynchrony in 'then'

Juan Ignacio Dopazo dopazo.juan at gmail.com
Tue Apr 30 09:55:56 PDT 2013


2013/4/30 Claus Reinke <claus.reinke at talk21.com>

> I have not yet been able to decide whether DOMFuture has a
> similar provision, or how this note is meant to be interpreted.
>

I think it is covered by this language in the accept() algorithm:

> Otherwise, the synchronous flag is unset, *queue a task* to process
future's resolve callbacks with value

"queue a task" points to text in the Web Apps spec regarding the event loop.

Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130430/a5bdbd1d/attachment.html>


More information about the es-discuss mailing list