postMessage

fun postMessage(message: Any?, transfer: ReadonlyArray<Transferable>)(source)

MDN Reference


fun postMessage(message: Any?, options: StructuredSerializeOptions = definedExternally)(source)