DedicatedWorkerGlobalScope
Constructors
<init>
Exposes the JavaScript DedicatedWorkerGlobalScope to Kotlin
DedicatedWorkerGlobalScope()
Properties
onmessage
open var onmessage: ((MessageEvent) -> dynamic)?
Functions
close
fun close()
postMessage
fun postMessage(
message: Any?,
transfer: Array<dynamic> = definedExternally)