function
postMessage
message: any,
): void;
Post a message to the parent thread.
Only useful in a worker thread; calling this from the main thread does nothing.
Referenced types
type Transferable = ArrayBuffer | MessagePort
function
Post a message to the parent thread.
Only useful in a worker thread; calling this from the main thread does nothing.