- From: Jimmy Karl Roland Wärting <notifications@github.com>
- Date: Tue, 27 Sep 2016 07:58:38 -0700
- To: w3c/FileAPI <FileAPI@noreply.github.com>
Received on Tuesday, 27 September 2016 15:06:43 UTC
I like .stream() without promise It short! You haven't thought of doing .toArrayBuffer() or .asArrayBuffer() so why should .stream() be prefixed with to/as while arrayBuffer don't? Its more like fetch. you get the stream from res.body and res.arrayBuffe() as promise So I don't think there's any confusion. I just think it's better to mimic the Response method .arrayBuffer() .text() If you want to get a stream synchronized you could still use the Response hack I shown you initially (which would break the purpes of having something like toStream() be prototyped to blob in the first place) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/issues/40#issuecomment-249888235
Received on Tuesday, 27 September 2016 15:06:43 UTC