Re: Overlap between StreamReader and FileReader

On Sat, May 18, 2013 at 7:36 AM, Anne van Kesteren <> wrote:
> On Sat, May 18, 2013 at 5:56 AM, Jonas Sicking <> 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