MpostMessage
Bun

method

BroadcastChannel.postMessage

message: any
): void;

Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays.

MDN Reference