- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 06 Feb 2023 02:57:32 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 6 February 2023 10:57:44 UTC
@annevk commented on this pull request.
> @@ -5914,25 +5914,59 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
<li><p>Return the <a for=/>appropriate network error</a> for <var>fetchParams</var>.
</ol>
- <li><p>Let <var>pullAlgorithm</var> be an algorithm that <a lt=resumed for=fetch>resumes</a> the
- ongoing fetch if it is <a lt=suspend for=fetch>suspended</a>.
+ <li>
+ <p>Let |buffer| be an empty buffer that can have bytes appended to it.
+
+ <p class="note">This represents an internal buffer inside the network layer of the user agent.
+
+ <li><p>Let |pullAlgorithm| be the followings steps:
+
+ <ol>
+ <li>Let |promise| be [=a new promise=].
+
+ <li>Return |promise| and run the remaining steps [=in parallel=].
In particular you want "Run these steps in parallel:", then the nested steps, and then "Return promise.".
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1593#discussion_r1097229535
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1593/review/1284972101@github.com>
Received on Monday, 6 February 2023 10:57:44 UTC