Re: [w3c/ServiceWorker] Better hooks for functional events (Issue #1808)

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1808)

I am not fully confident but,
Is https://github.com/w3c/ServiceWorker/pull/1809 the named parameters you mean?

For
> Furthermore, the current algorithm checks has showNotification() been successfully invoked regardless of whether the event's waitUntil promises resolve or reject.

I assumed that you might want the ServiceWorker specification support to let the caller know promise resolve/reject from the following sentence:
> On top of that specifications might want to do something only after the events extension period is over, and perhaps do different things depending on whether the promise resolves or rejects.

I supposed that you want "Wait for all of the promises in the [extend lifetime promises](https://www.w3.org/TR/service-workers/#extendableevent-extend-lifetime-promises) of dispatchedEvent to resolve." to be done by the ServiceWorker specification.
Can I ask how the ideal caller will be?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1808#issuecomment-3579789496
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1808/3579789496@github.com>

Received on Wednesday, 26 November 2025 07:22:59 UTC