MessagePort

JS
1.1

Exposes the JavaScript MessagePort to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript MessagePort to Kotlin

MessagePort()

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)
JS
1.1

start

fun start()