Re: Overlap between StreamReader and FileReader

On Thu, May 16, 2013 at 8:26 PM, Feras Moussa <feras.moussa@hotmail.com> wrote:
> Can you please go into a bit more detail? I've read through the thread, and
> it mostly focuses on the details of how a Stream is received from XHR and
> what behaviors can be expected - it only lightly touches on how you can
> operate on a stream after it is received.

The main problem is that Stream per Streams API is not what you expect
from an IO stream, but it's more what Blob should've been (Blob
without synchronous size). What we want I think is a real IO stream.
If we also need Blob without synchronous size is less clear to me.


> I do agree the API
> should allow for scenarios where data can be discarded, given that is an
> advantage of a Stream over a Blob.

It does not seem to do that currently though. It's also not clear to
me we want to allow multiple readers by default.


> That said, Anne, what is your suggestion for how Streams can be consumed?

I don't have one yet.


--
http://annevankesteren.nl/

Received on Friday, 17 May 2013 09:15:30 UTC