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

Re: Futures

From: Kevin Smith <zenparsing@gmail.com>
Date: Fri, 26 Apr 2013 15:34:11 -0400
Message-ID: <CA+mDt2xMmAMsyH27_ODgddBirHwPCxnnoNJXBAeohkLfBb=JJA@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: Juan Ignacio Dopazo <dopazo.juan@gmail.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, EcmaScript <es-discuss@mozilla.org>
> > Yes, sorry. It will on version 1.1:
> https://github.com/promises-aplus/promises-spec/#the-promise-resolution-procedure
> To clarify: in 1.0, the behavior of returning a thenable was highly
> underspecified, in part because of a lack of clarity about promises vs.
> thenables. In 1.1, returning a thenable is now specified in the same detail
> as the rest of the spec, and (of course) has accompanying tests.
Ah - thanks for the info.  But as far as I know, you can't test the case
where a promise's value is actually a promise, because Q doesn't support
that feature.  True?

The difference would only surface when testing that case.

{ Kevin }
Received on Friday, 26 April 2013 19:34:38 UTC

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