Open jespertheend opened 5 months ago
Currently it is defined in lib.dom.ts to return Promise<void>.
Promise<void>
See the MDN page for update() which mentions:
Return value A Promise that resolves with a ServiceWorkerRegistration object.
The spec is a bit unclear because it mentions some job logic:
Let job be the result of running Create Job with update
but in the end it seems like this promise is always resolved with a ServiceWorkerRegistration.
Currently it is defined in lib.dom.ts to return
Promise<void>
.See the MDN page for update() which mentions:
The spec is a bit unclear because it mentions some job logic:
but in the end it seems like this promise is always resolved with a ServiceWorkerRegistration.