Anne van Kesteren (2013-04-30T19:55:16.000Z)
On Tue, Apr 30, 2013 at 5:55 PM, Juan Ignacio Dopazo
<dopazo.juan at gmail.com> wrote:
> 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.

Right. We might want to run this as a microtask instead maybe, but I
think a task similar to what setTimeout(..., 0) does is fine.


--
http://annevankesteren.nl/
github at esdiscuss.org (2013-07-12T02:26:59.591Z)
On Tue, Apr 30, 2013 at 5:55 PM, Juan Ignacio Dopazo <dopazo.juan at gmail.com> wrote:
> 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.

Right. We might want to run this as a microtask instead maybe, but I
think a task similar to what `setTimeout(..., 0)` does is fine.