getRegistrationAsync
fun getRegistrationAsync(clientURL: String = definedExternally): Promise<ServiceWorkerRegistration?>(source)
The getRegistration()
method of the ServiceWorkerContainer interface gets a ServiceWorkerRegistration object whose scope URL matches the provided client URL.