- From: Ming-Ying Chung <notifications@github.com>
- Date: Wed, 13 Sep 2023 23:13:59 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 September 2023 06:14:05 UTC
@mingyc commented on this pull request. > @@ -8485,6 +8618,92 @@ 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; A side note, AbortSignal also provides a timeout mechanism, but it is based on active time, so it's still not equivalent to "send this X min from now" behavior. ``` AbortSignal: timeout() static method The timeout is based on active rather than elapsed time, and will effectively be paused if the code is running in a suspended worker, or while the document is in a back-forward cache. ``` -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1647#discussion_r1325406681 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1647/review/1625956939@github.com>
Received on Thursday, 14 September 2023 06:14:05 UTC