DedicatedWorkerGlobalScope

JS
1.1
abstract class DedicatedWorkerGlobalScope : WorkerGlobalScope

Exposes the JavaScript DedicatedWorkerGlobalScope to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript DedicatedWorkerGlobalScope to Kotlin

DedicatedWorkerGlobalScope()

Properties

JS
1.1

onmessage

open var onmessage: (Event) -> dynamic

Functions

JS
1.1

close

fun close()
JS
1.1

postMessage

fun postMessage(
    message: Any?,
    transfer: Array<dynamic> = definedExternally)