RE: Futures

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