Re: [whatwg/streams] Add support for ReadableStream "owning" type (PR #1271)

@youennf commented on this pull request.



> +<div algorithm>
+ <dfn abstract-op lt="StructuredTransferOrClone">StructuredTransferOrClone(|value|, |transferList|)</dfn>
+    performs the following steps:
+ 1. Let |serialized| be ? [$StructuredSerializeWithTransfer$](|value|, |transferList|).
+ 1. Let |deserialized| be ? [$StructuredDeserializeWithTransfer$](|serialized|, [=the current Realm=]).
+ 1. Return |deserialized|.\[[Deserialized]].
+</div>
+

We could do this as a follow-up, the only difference between the two right now is passing transferList or options.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1271#discussion_r1189421814
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1271/review/1419875231@github.com>

Received on Wednesday, 10 May 2023 06:39:48 UTC