- From: youennf <notifications@github.com>
- Date: Tue, 09 May 2023 23:30:51 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 10 May 2023 06:30:57 UTC
@youennf commented on this pull request.
> @@ -651,8 +651,16 @@ 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.
+ Transferred or serialized chunks may have <dfn>dispose steps</dfn> which are executed if
Will update the sentence and add export.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1271#discussion_r1189414823
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/streams/pull/1271/review/1419864955@github.com>
Received on Wednesday, 10 May 2023 06:30:57 UTC