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

@noamr commented on this pull request.



> + <li><p>Let <var>request</var> be <var>requestObject</var>'s <a for=Request>request</a>.
+
+ <li><p>Let <var>backgroundTimeout</var> be null.
+
+ <li><p>If <var>init</var> is given and <var>init</var>["<code>backgroundTimeout</code>"]
+ <a for=map>exists</a> then set <var>backgroundTimeout</var> to
+ <var>init</var>["<code>backgroundTimeout</code>"].
+
+ <li><p>If <var>backgroundTimeout</var> is not a {{DOMHighResTimeStamp}} then throw a {{TypeError}}.
+
+ <li><p>Let <var>deferredRecord</var> be the result of calling
+ <a>request a deferred fetch</a> given <var>request</var> and <var>backgroundTimeout</var>. This
+ may throw an exception.
+
+ <li>
+  <p><a for=AbortSignal lt=add>Add the following abort steps</a> to <var>requestObject</var>'s

@annevk how would you feel about `committed`? I think it's less ambiguous than `sent` but open to other suggestions as well. If the name of this property is the last thing on the list of open issues we're in a good shape.

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

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

Received on Wednesday, 28 June 2023 13:55:19 UTC