Function: createServiceWorker()
createServiceWorker(
scope):object
Defined in: serviceWorker/createServiceWorker.ts:286
Wires the install, activate, fetch, push and notificationclick listeners on
a service worker scope. sw.ts calls it with self.
Parameters
| Parameter | Type |
|---|---|
scope | ServiceWorkerScope |
Returns
object
config
config:
ServiceWorkerConfig