Broadcast Channel
Bindings for @solid-primitives/broadcast-channel.
let makeBroadcastChannel<'T>(name: string): MakeBroadcastChannelResult<'T>
let createBroadcastChannel<'T>(name: string): CreateBroadcastChannelResult<'T>
makeBroadcastChannelopens a channel for cross-tab communication. Its result hasonMessage,postMessage,close,channelNameandinstance(the underlyingBroadcastChannel).createBroadcastChannelreturns amessagesignal in place ofonMessage. The signal updates when another context callspostMessage.
Channels are shared by name: asking for an existing name returns that channel, and it closes when its last owner is cleaned up.
