- From: Robert Linder <notifications@github.com>
- Date: Tue, 19 Feb 2019 06:39:02 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 February 2019 14:39:26 UTC
> The `ServiceWorkerGlobalScope.skipWaiting()` method of the `ServiceWorkerGlobalScope` forces the > waiting service worker to become the active service worker. > > Use this method with `Clients.claim()` to ensure that updates to the underlying service worker take > effect immediately for both the current client and all other active clients. https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerGlobalScope/skipWaiting https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim Does this not achieve what you want? -- 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/1389#issuecomment-465154009
Received on Tuesday, 19 February 2019 14:39:26 UTC