SharedWorkerGlobalScope

Properties

Link copied to clipboard
Link copied to clipboard

Returns workerGlobal's WorkerLocation object.

Link copied to clipboard

Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.

Link copied to clipboard

Returns workerGlobal's WorkerNavigator object.

Functions

Link copied to clipboard
fun close()

Aborts sharedWorkerGlobal.

Link copied to clipboard
Link copied to clipboard
open operator fun get(key: String): Any?
Link copied to clipboard
open operator fun set(key: String, value: Any?)