Re: [whatwg/streams] Readable byte stream must call pull after receiving new chunk (#877)

@ricea Ah, I didn't think about BYOB requests. Yes, it'd be more efficient to wait until we know whether the next read comes from a default reader or a BYOB reader.

However, wouldn't that imply that a byte stream locked to a BYOB reader will never attempt to fill its queue up to the high water mark? Also, what should happen if the stream isn't locked (yet)?

-- 
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/877#issuecomment-364055048

Received on Thursday, 8 February 2018 09:38:39 UTC