Re: [w3c/ServiceWorker] Using BroadcastChannel to wake up a service worker (#975)

> Showing a notification upon a received broadcast message is the issue I bumped into today...
So yes, five years later, this still looks an interesting feature to have.

Same here, I need users to be able to send reports (including pictures of their work) from their phone to the server, but still allow them to quit the app to keep working while the service worker waits for server connection to send the data. The client sends the report via a boardcast channel to the SW which will show a progress notification. The problem is the lack of `ExtendableEvent.waitUntil()` makes the SW stop in the middle of the tranfert...

Are basic `Worker`s or `SharedWorker`s better for this kind of use?

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

Received on Wednesday, 7 July 2021 23:12:51 UTC