Re: [whatwg/fetch] Deferred fetching (PR #1647)

@noamr commented on this pull request.



> +<var>inactivityDeferredDelay</var> (default null):
+
+<ol>
+ <li><p>Assert: <var>request</var>'s <a for=request>client</a> is an
+ <a>environment settings object</a>.
+
+ <li>Let <var>totalScheduledDeferredBytesForOrigin</var> be 0.
+
+ <li>
+  <p>If <var>request</var>'s <a for=request>body</a> is not null then:
+
+  <ol>
+   <li><p>If <var>request</var>'s
+   <a for=request>body</a>'s <a for=body>length</a> is null, then throw a {{TypeError}}.
+
+   <li><p>Set <var>totalScheduledDeferredBytesForOrigin</var> to <var>request</var>'s

You could do this in the implementation, it won't change anything behavior-wise.

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

Message ID: <whatwg/fetch/pull/1647/review/1610300584@github.com>

Received on Tuesday, 5 September 2023 06:28:57 UTC