<div dir="ltr">On Fri, Apr 5, 2013 at 5:53 AM, Panos Astithas <span dir="ltr"><<a href="mailto:past@mozilla.com" target="_blank">past@mozilla.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One could argue that we should be skating to where the puck is going to be, and DOM Futures seem like the future (pun intended, but also unavoidable). It isn't entirely obvious to me from the current spec if they support async only or both, because I'm having a hard time parsing the specese around the "synchronous flag":<br>
<br><a href="http://dom.spec.whatwg.org/#futures" target="_blank">http://dom.spec.whatwg.org/#futures</a><br></div></blockquote><div><br></div><div>The DOM futures spec is very clear that callbacks passed to then() cannot be called in the current event tick. This matches the A+ spec precisely. But yeah it's totally unclear whether calls to resolve start calling callbacks synchronously or not.<br>
</div></div></div></div>