← Docs
kotlin-stdlib / org.w3c.workers / ServiceWorkerContainer / register

register

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

(source)
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .