A channel for broadcasting messages to other contexts listening on the same name.
Also available via worker_threads (see section 5); this is the web global form.
See also:
Constructor
Variables
Methods
postMessage(message:Any):Void
Posts a message that will be delivered to all other BroadcastChannel objects listening on the same name.
ref():BroadcastChannel
Increases the Node.js event-loop reference count for this channel. Returns this.
unref():BroadcastChannel
Decreases the Node.js event-loop reference count for this channel. Returns this.