Re: [whatwg/streams] Rewrite to use Web IDL, and generally modernize (#1035)

@MattiasBuelens commented on this pull request.



>  
-    <a href="#rbs-controller-close">close</a>()
-    <a href="#rbs-controller-enqueue">enqueue</a>(chunk)
-    <a href="#rbs-controller-error">error</a>(e)
-  }
-</code></pre>
+<xmp class="idl">
+[Exposed=(Window,Worker,Worklet)]
+interface ReadableByteStreamController {
+  readonly attribute ReadableStreamBYOBRequest byobRequest;

Yes, I always found it a bit weird that `desiredSize` was `number | null`, but `byobRequest` was `ReadableStreamBYOBRequest | undefined`.

-- 
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/1035#discussion_r410716686

Received on Saturday, 18 April 2020 16:09:10 UTC