Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/websocket_broadcastchannel/mod.ts>WebSocketBroadcastChannel#postMessage

Host-wide BroadcastChannel for Deno CLI, backed by WebSockets.
Latest
method WebSocketBroadcastChannel.prototype.postMessage
import { WebSocketBroadcastChannel } from "https://deno.land/x/websocket_broadcastchannel@0.8.0/mod.ts";

Parameters

message: string