postMessage

Bun

Symbol

BroadcastChannel.postMessage

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