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

Re: Promises: Auto-assimilating thenables returned by .then() callbacks: yay/nay?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 2 May 2013 12:47:21 -0700
Message-ID: <CAAWBYDCjbBKFL=gfxT6sZ_YGE-xNwA56VAgFTFaY8hu_fQN2sQ@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
On Thu, May 2, 2013 at 12:31 PM, Domenic Denicola
<domenic@domenicdenicola.com> wrote:
> DOMFuture has made no such switch. Some variable names were changed, but
> nothing more.

Ugh, I read the commits wrong.  His most recent changes are *not* just
variable-name changes, but they're less significant than I thought.
(They make an omitted acceptCallback use the accept algorithm, so that
calling ".then(alert)" and ".then().then(alert)" would have the same
behavior on nested promises.)

While I clear that up (since the naming and the behavior are not
inconsistent, which is extremely confusing), can you comment on the
rest of my message?

~TJ
Received on Thursday, 2 May 2013 19:48:08 UTC

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