register
fun register(
scriptURL: String,
options: RegistrationOptions = definedExternally
): Promise<ServiceWorkerRegistration>
(source)
fun register(
scriptURL: String,
options: RegistrationOptions = definedExternally
): Promise<ServiceWorkerRegistration>