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

Re: [futures] Folding .progress() into .then() for ProgressFuture

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 16 Apr 2013 11:58:37 +0100
Message-ID: <CADnb78iR4=icnTHyPYmyQCCzzKhhWDVUMzC1rCJXF2_500beBw@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>
On Fri, Apr 12, 2013 at 12:32 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> As a further step, Task.js just makes all promises able to post
> progress updates, rather than making it a special kind of promise you
> have to request.  This sounds like it may be a good idea - by default,
> futures just won't post any progress updates, so the third callback
> won't do anything.  This is also friendlier to later "upgrading", if
> we decide that a particular API originally specified as a plain Future
> should post progress updates - right now it'll require a prototype
> change, which has compat impact.

I've been thinking the same thing. Any feedback on this?

Received on Tuesday, 16 April 2013 10:59:04 UTC

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