register

suspend fun register(scriptURL: String, options: RegistrationOptions = definedExternally): ServiceWorkerRegistration(source)

MDN Reference


suspend fun register(scriptURL: URL, options: RegistrationOptions = definedExternally): ServiceWorkerRegistration(source)