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

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?


--
http://annevankesteren.nl/

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