- From: Adam Rice <notifications@github.com>
- Date: Fri, 10 Jul 2020 18:38:05 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 11 July 2020 01:38:17 UTC
@ricea commented on this pull request. > @@ -745,6 +755,36 @@ option. If {{UnderlyingSource/type}} is set to undefined (including via omission immutable, this could allow interference between the two branches. </dl> +<div algorithm="ReadableStream transfer steps"> +{{ReadableStream}} objects are [=transferable objects=]. Their [=transfer steps=], given |value| and +|dataHolder|, are: + + 1. [=Create a new MessagePort object=] whose [=owner=] is the [=incumbent settings object=] and let + |port1| be that object. + 1. [=Create a new MessagePort object=] whose [=owner=] is the [=incumbent settings object=] and let + |port2| be that object. + 1. [=Entangle=] the |port1| and |port2| objects. + 1. If ! [$IsReadableStreamLocked$](|value|) is true, throw a {{TypeError}} exception. Yes, makes sense. Done. -- 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/1053#discussion_r453139346
Received on Saturday, 11 July 2020 01:38:17 UTC