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

@youennf commented on this pull request.



> @@ -6368,7 +6390,11 @@ for="value-with-size">value</dfn> and <dfn for="value-with-size">size</dfn>.
  1. Assert: |container| has \[[queue]] and \[[queueTotalSize]] internal slots.
  1. If ! [$IsNonNegativeNumber$](|size|) is false, throw a {{RangeError}} exception.
  1. If |size| is +∞, throw a {{RangeError}} exception.
- 1. [=list/Append=] a new [=value-with-size=] with [=value-with-size/value=] |value| and
+ 1. Let |enqueuedValue| be |value|.
+ 1. If |container|.\[[isTransferring]] is true, perform the following steps:

I updated to `if |container| has a \[[isTransferring]] slot whose value is true` to make that clearer

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

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

Received on Wednesday, 12 April 2023 08:15:10 UTC