Worker
Constructors
<init>
Exposes the JavaScript Worker to Kotlin
Worker(
scriptURL: String,
options: WorkerOptions = definedExternally)
Properties
onmessage
var onmessage: ((MessageEvent) -> dynamic)?
Functions
postMessage
fun postMessage(
message: Any?,
transfer: Array<dynamic> = definedExternally)
terminate
fun terminate()