- From: youennf <notifications@github.com>
- Date: Mon, 12 Jun 2023 04:50:26 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 12 June 2023 11:50:31 UTC
@youennf commented on this pull request.
> @@ -651,8 +651,15 @@ enum ReadableStreamType { "bytes" };
<p>For an example of how to set up a readable byte stream, including using the different
controller interface, see [[#example-rbs-push]].
- <p>Setting any value other than "{{ReadableStreamType/bytes}}" or undefined will cause the
- {{ReadableStream()}} constructor to throw an exception.
+ <p>Can be set to "<dfn enum-value for="ReadableStreamType">owning</dfn>" to signal that the
+ constructed {{ReadableStream}} will own chunks (via transfer or serialization) before enqueuing them.
+ This ensures that enqueued chunks are not mutable by the source.
Let's change it to `cannot be mutated by the source`
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1271#discussion_r1226536206
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/streams/pull/1271/review/1474725975@github.com>
Received on Monday, 12 June 2023 11:50:31 UTC