Re: [whatwg/streams] Add Reader Type assertions (#1095)

@ricea commented on this pull request.



> @@ -2393,6 +2393,7 @@ the {{ReadableStream}}'s public API.
  id="readable-stream-fulfill-read-into-request">ReadableStreamFulfillReadIntoRequest(|stream|,
  |chunk|, |done|)</dfn> performs the following steps:
 
+ 1. Assert: |stream|.[=ReadableStream/[[reader]]=] [=implements=] {{ReadableStreamBYOBReader}}.

I would prefer `! [$ReadableStreamHasBYOBReader$](|stream|) is true.`

-- 
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/pull/1095#pullrequestreview-544708051

Received on Friday, 4 December 2020 07:21:41 UTC