plinth/browser/broadcast_channel
Types
pub type BroadcastChannel
Functions
pub fn on_message(
worker: BroadcastChannel,
handle: fn(Message) -> Nil,
) -> Nil
pub fn post_message(
channel: BroadcastChannel,
message: Json,
) -> Result(Nil, String)