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

RE: Futures

From: Ron Buckton <rbuckton@chronicles.org>
Date: Fri, 26 Apr 2013 23:17:31 +0000
To: Kevin Smith <zenparsing@gmail.com>, Juan Ignacio Dopazo <dopazo.juan@gmail.com>
CC: Brendan Eich <brendan@mozilla.com>, "Mark S. Miller" <erights@google.com>, Douglas Crockford <douglas@crockford.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Norbert Lindenberg <w3@norbertlindenberg.com>, Markus Lanthaler <markus.lanthaler@gmx.net>, EcmaScript <es-discuss@mozilla.org>
Message-ID: <33D2646B20374248B7CAA8F25919AAFC42761842@BY2PRD0111MB494.prod.exchangelabs.com>
I have an implementation in Typescript/ES5 at https://github.com/rbuckton/promisejs/tree/master/Variations with a test suite that can be run from node.

Ron

Sent from my Windows Phone
________________________________
From: Kevin Smith<mailto:zenparsing@gmail.com>
Sent: 4/26/2013 11:47 AM
To: Juan Ignacio Dopazo<mailto:dopazo.juan@gmail.com>
Cc: Brendan Eich<mailto:brendan@mozilla.com>; Mark S. Miller<mailto:erights@google.com>; Douglas Crockford<mailto:douglas@crockford.com>; public-script-coord@w3.org<mailto:public-script-coord@w3.org>; Norbert Lindenberg<mailto:w3@norbertlindenberg.com>; Markus Lanthaler<mailto:markus.lanthaler@gmx.net>; EcmaScript<mailto:es-discuss@mozilla.org>
Subject: Re: Futures


If resolved called the thenable's then() with accept and reject, it would only unwrap one layer.


Good spec googles (I think).  I just whiteboarded it and came to the same conclusion.  Does anyone else have a prototype implementation they can run this program on?

{ Kevin }
Received on Friday, 26 April 2013 23:18:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC