register
fun register(
scriptURL: String,
options: RegistrationOptions = definedExternally
): Promise<ServiceWorkerRegistration>
(source)
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
fun register(
scriptURL: String,
options: RegistrationOptions = definedExternally
): Promise<ServiceWorkerRegistration>