MessagePortMain
Functions
Link copied to clipboard
fun postMessage(message: Any?, transfer: <Error class: unknown class><MessagePortMain> = definedExternally)
Sends a message from the port, and optionally, transfers ownership of objects to other browsing contexts.