Class: ServiceWorkerRegistrationWrapper#

server.ServiceWorkerRegistrationWrapper

Implements#

Constructors#

constructor#

new ServiceWorkerRegistrationWrapper()

Defined in#

packages/server/lib/serviceworker.d.ts:4

Properties#

_registration#

Private _registration: any

Defined in#

packages/server/lib/serviceworker.d.ts:15


_registrationChanged#

Private _registrationChanged: any

Defined in#

packages/server/lib/serviceworker.d.ts:16


initialize#

Private initialize: any

Defined in#

packages/server/lib/serviceworker.d.ts:13


setRegistration#

Private setRegistration: any

Defined in#

packages/server/lib/serviceworker.d.ts:14

Accessors#

enabled#

get enabled(): boolean

Whether the ServiceWorker is enabled or not.

Returns#

boolean

Implementation of#

IServiceWorkerRegistrationWrapper.enabled

Defined in#

packages/server/lib/serviceworker.d.ts:12


registrationChanged#

get registrationChanged(): ISignal<IServiceWorkerRegistrationWrapper, null | ServiceWorkerRegistration>

A signal emitted when the registration changes.

Returns#

ISignal<IServiceWorkerRegistrationWrapper, null | ServiceWorkerRegistration>

Implementation of#

IServiceWorkerRegistrationWrapper.registrationChanged

Defined in#

packages/server/lib/serviceworker.d.ts:8