registration property

ServiceWorkerRegistration get registration

@AvailableInWorkers("service")

The registration read-only property of the ServiceWorkerGlobalScope interface returns a reference to the ServiceWorkerRegistration object, which represents the service worker's registration.

Implementation

external ServiceWorkerRegistration get registration;