pub fn construct_broadcast_channel(args: &[Value]) -> Result<Value, String>Expand description
new BroadcastChannel(name) → an object that broadcasts postMessage data to
every OTHER BroadcastChannel of the same name.
LIMITATION (documented, never faked): this is SAME-THREAD only. Node’s
BroadcastChannel spans worker threads; node-js delivers only to channels on
the constructing thread (cross-thread delivery would need the worker bridge and
is out of scope here). Like Node, a channel keeps the event loop alive (refs a
handle) until close() / unref().