Futures

Kevin Smith zenparsing at gmail.com
Mon Apr 22 06:07:17 PDT 2013


>
>
> What about using a symbol for the `then` protocol?  Libraries can be
> upgraded to use the symbol as an alias for `then`.  It set up a dependency
> on ES6, of course...
>
> And it doesn't address the compatibility problem people want to address.
>

It still does I think.  It's cheap for a library to add a symbol-named
alias for `then`.  But it's expensive for a library's clients to replace
all usage sites with a different API.  Even though `then` is standard, the
other parts are not.

- Q.defer
- new jQuery.Deferred
- new Future
- ...etc

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130422/7545dca7/attachment.html>


More information about the es-discuss mailing list