Re: [whatwg/streams] Possible spec bug with concurrent byob reads (#1170)

Hmm, true. Having `controller.[[byobRequest]]` populated lazily is more of an optimization, in theory we could also construct it eagerly whenever `controller.[[pendingPullIntos]]` goes from empty to non-empty. We probably shouldn't attach semantics to it.

In that case: make sure to always `respond(0)` after `close()`. 😉 

-- 
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/1170#issuecomment-933718421

Received on Monday, 4 October 2021 17:56:23 UTC