SharedWorkerGlobalScope

abstract external class SharedWorkerGlobalScope : 
    WorkerGlobalScope
(source)

Platform and version requirements: JS

Exposes the JavaScript SharedWorkerGlobalScope to Kotlin

Constructors

<init>

SharedWorkerGlobalScope()

Exposes the JavaScript SharedWorkerGlobalScope to Kotlin

Properties

applicationCache

open val applicationCache: ApplicationCache

name

open val name: String

onconnect

open var onconnect: (Event) -> dynamic

Inherited Properties

location

open val location: WorkerLocation

navigator

open val navigator: WorkerNavigator

onerror

open var onerror: (dynamic, String, Int, Int, Any?) -> dynamic

onlanguagechange

open var onlanguagechange: (Event) -> dynamic

onoffline

open var onoffline: (Event) -> dynamic

ononline

open var ononline: (Event) -> dynamic

onrejectionhandled

open var onrejectionhandled: (Event) -> dynamic

onunhandledrejection

open var onunhandledrejection: (Event) -> dynamic

self

open val self: WorkerGlobalScope

Functions

close

fun close()

Inherited Functions

importScripts

fun importScripts(vararg urls: String)