- From: Kagami Sascha Rosylight <notifications@github.com>
- Date: Wed, 15 Feb 2023 02:32:35 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 15 February 2023 10:32:47 UTC
@saschanaz commented on this pull request. > + <ol> + <li><p>If the size of |buffer| is smaller than a lower limit chosen by the user agent and the + ongoing fetch is [=fetch/suspend|suspended=], [=fetch/resumed|resume=] the fetch. + + <li><p>Wait until |buffer| is not empty. + + <li><p>[=Queue a fetch task=] to run the following steps, with |fetchParams|'s [=task destination=]. + + <ol> + <li><p>Let |available| be the size of |buffer|. + + <li><p>Let |desiredSize| be |available|. + + <li><p>If |stream|'s [=ReadableStream/current BYOB request view=] is non-null, then set + |desiredSize| to |stream|'s [=ReadableStream/current BYOB request view=]'s [=BufferSource/byte + length=]. Hmm, that's not what the Great Rewrapper does, but okay. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1593#discussion_r1106944067 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1593/review/1299226871@github.com>
Received on Wednesday, 15 February 2023 10:32:47 UTC