[whatwg/streams] Reading last chunk from StreamReader (#760)

If a StreamReader knows that any given chunk is the last chunk in the stream, is it acceptable for the StreamReader to resolve the read Promise with `{ value: lastChunk, done: true }`? The specified default reader implementation does not seem to do that and I was wondering if there's any specific reason for that?

https://streams.spec.whatwg.org/#default-reader-read

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/760

Received on Tuesday, 1 August 2017 19:27:54 UTC