Future statics

I added a short introduction:
http://dom.spec.whatwg.org/#introduction-to-the-future Hopefully this
gives people an idea of what futures can be used for and why they are
useful.

I also these three static methods:

* Future.any() - returns a Future which completes (either accepted or
rejected) when any future passed completes.
* Future.every() - returns a Future which completes when all futures
passed complete or any of them reject.
* Future.some() - returns a Future which completes when any future
passed is accepted or all of them reject.


--
http://annevankesteren.nl/

Received on Friday, 5 April 2013 16:18:43 UTC