W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Futures

From: Juan Ignacio Dopazo <dopazo.juan@gmail.com>
Date: Fri, 26 Apr 2013 16:09:28 -0300
Message-ID: <CA+ejddUOAwOXuQKbcqzk1qXc25ZRUtsYkR5qabH0uaZakaXxUg@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, EcmaScript <es-discuss@mozilla.org>
2013/4/26 Anne van Kesteren <annevk@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
Received on Friday, 26 April 2013 19:10:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:13 UTC