W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

Future statics

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 5 Apr 2013 17:18:12 +0100
Message-ID: <CADnb78gdWpV6NNfb8mLjnx=a-azwJodcgQr=zW00DSZz+ptacg@mail.gmail.com>
To: "www-dom@w3.org" <www-dom@w3.org>
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

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.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:02 UTC