Skip to main content
BroadcastChannel.prototype.postMessage - worker_threads - Node documentation
method BroadcastChannel.prototype.postMessage

Usage in Deno

import { BroadcastChannel } from "node:worker_threads";
BroadcastChannel.prototype.postMessage(message: unknown): void

Parameters

message: unknown

Any cloneable JavaScript value.

Return Type

void