postMessage

fun postMessage(message: ERROR CLASS: Symbol not found for JsAny??, transfer: ReadonlyArray<Transferable>)(source)

The postMessage() method of the MessagePort interface sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.

MDN Reference


fun postMessage(message: ERROR CLASS: Symbol not found for JsAny??, options: StructuredSerializeOptions = definedExternally)(source)
fun postMessage(message: String, options: StructuredSerializeOptions = definedExternally)(source)