postMessage
fun postMessage(message: ERROR CLASS: Symbol not found for JsAny??, transfer: ReadonlyArray<Transferable>)(source)
The postMessage() method of the DedicatedWorkerGlobalScope interface sends a message to the main thread that spawned it.
fun postMessage(message: ERROR CLASS: Symbol not found for JsAny??, options: StructuredSerializeOptions = definedExternally)(source)