- From: Jonas Sicking <jonas@sicking.cc>
- Date: Sat, 18 May 2013 12:46:51 -0700
- To: Anne van Kesteren <annevk@annevk.nl>
- Cc: Takeshi Yoshino <tyoshino@google.com>, Feras Moussa <feras.moussa@hotmail.com>, Travis Leithead <travis.leithead@microsoft.com>, Alex Russell <slightlyoff@google.com>, "Web Applications Working Group WG (public-webapps@w3.org)" <public-webapps@w3.org>
On Sat, May 18, 2013 at 7:36 AM, Anne van Kesteren <annevk@annevk.nl> wrote: > On Sat, May 18, 2013 at 5:56 AM, Jonas Sicking <jonas@sicking.cc> wrote: >> where the ProgressFutures returned from >> readBinaryChunked/readBinaryChunked delivers the data in the progress >> notifications only, and no data is delivered when the future is >> actually resolved. Though this might be abusing Futures a bit? > > Yeah, futures represent a value. This is an event stream (that does > not keep track of history). It's not exactly an event stream since the exact events isn't what matters here. I.e. you'll get different events in different implementations, and there are no guarantees that the events themselves will be meaningful. But yeah, I agree it's not representing a value and so it's an abuse of Future's semantics. / Jonas
Received on Saturday, 18 May 2013 19:47:49 UTC