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

@mingyc commented on this pull request.



> @@ -8481,6 +8615,75 @@ with a <var>promise</var>, <var>request</var>, <var>responseObject</var>, and an
 </div>
 
 
+<h3 id=fetch-later-method>FetchLater method</h3>
+
+<pre class=idl>
+
+dictionary DeferredRequestInit : RequestInit {
+  DOMHighResTimeStamp backgroundTimeout;
+};
+
+interface FetchLaterResult {
+  readonly attribute boolean sent;
+};
+
+partial interface mixin WindowOrWorkerGlobalScope {
+  [NewObject] FetchLaterResult fetchLater(RequestInfo input, optional DeferredRequestInit init = {});

> Re `keepalive`

Thanks. Should the API throw exception when `keepalive` is set?

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

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

Received on Thursday, 6 July 2023 08:51:53 UTC