Closed mingyc closed 9 months ago
@yoavweiss @clelland @philipwalton @annevk Could you please take a look?
(Adding @tunetheweb to take a look while I'm on leave.)
^^ @noamr
@mingyc - I think this is quite different from the Controller-based design we discussed. Let's sync about this.
The SendSignal
controller is tracked in https://github.com/WICG/pending-beacon/issues/75
sendAfterBeingBackgroundedTimeout
is now activateAfter
in fetchLater()
API. See https://github.com/whatwg/fetch/pull/1647#issuecomment-1770705664deferSend
is now the default behavior of fetchLater()
API. See Deferred fetching
https://whatpr.org/fetch/1647.html#deferred-fetching
Context: #70 and #71
Current proposal is to make
deferSend
a class, andsendAfterBeingBackgroundedTimeout
its optional field.RequestInit
]? But it is not relevant to other existing fetch options.hidden
orpagehide
(bfcached)? (Previous discussion in #13).