postMessage

fun postMessage(message: JsAny?)(source)

The postMessage() method of the BroadcastChannel interface sends a message, which can be of any kind of Object, to each listener in any browsing context with the same origin.

MDN Reference