Futures

Juan Ignacio Dopazo dopazo.juan at gmail.com
Fri Apr 26 12:09:28 PDT 2013


2013/4/26 Anne van Kesteren <annevk at annevk.nl>

> > If resolve called the thenable's then() with accept and reject, it would

 > only unwrap one layer.
>
> Oops yeah. I guess that should be fixed. :/
>

Fixing that would break compatibility with Promises/A+. To remain
compatible with A+ and unwrap only one layer, the spec would need a way to
discern promises from thenables.

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


More information about the es-discuss mailing list