- From: youennf <notifications@github.com>
- Date: Tue, 11 Apr 2023 04:57:57 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 11 April 2023 11:58:03 UTC
@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: If no slot, then my understanding is that the value is undefined, which is different from true. That said, the end plan is to use transfer for writable streams as well, which would probably allow reusing the same 1EnqueueValueWithSize`. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/1271#discussion_r1162706630 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/pull/1271/review/1379077550@github.com>
Received on Tuesday, 11 April 2023 11:58:03 UTC