Re: [whatwg/streams] WritableStreamDefaultWriterGetDesiredSize(writer) cannot in general be used to determine size of chunks read by pipeTo (#938)

Ah, that's a great analysis, I agree completely. OK, maybe we should file that for future investigation, and just focus on fixing this bug...

Can you think of anything besides just being very vague? E.g. my first draft would be

> If reader is a BYOB reader, WritableStreamDefaultWriterGetDesiredSize(writer) may be used as input to determine the size of the chunks read from reader.

perhaps coupled with some discussions about how this falls down in some cases (mismatched chunk types, desired size of 1)

Or just delete it... :-/.

-- 
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/938#issuecomment-411812299

Received on Thursday, 9 August 2018 16:11:40 UTC