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

Re: [futures] Add convenience functions for immediate/canceled promises

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 18 Apr 2013 16:46:45 +0100
Message-ID: <CADnb78gBHWTDxteRXeQjnWKqkWUAi8Xgf=4XXL4A5JWbSF7nSw@mail.gmail.com>
To: Mounir Lamouri <mounir@lamouri.fr>
Cc: "www-dom@w3.org" <www-dom@w3.org>
On Thu, Apr 18, 2013 at 4:26 PM, Mounir Lamouri <mounir@lamouri.fr> wrote:
> That would break the current barrier there is between the Future creator
> and the Future users: only the creator of a Future can mark it as
> resolved. Allowing any one to mark a Future as resolved might be a bit
> painful in some cases for a benefit that doesn't seem obvious to me.

These would be static methods and serve as constructors. They do not
operate on instances of futures.


--
http://annevankesteren.nl/
Received on Thursday, 18 April 2013 15:47:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:20 UTC