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

x/websocket_broadcastchannel/src/id-url-channel.ts>IdUrlChannel.of

Host-wide BroadcastChannel for Deno CLI, backed by WebSockets.
Latest
method IdUrlChannel.of
import { IdUrlChannel } from "https://deno.land/x/websocket_broadcastchannel@0.8.0/src/id-url-channel.ts";

Creates or retrieves THE IdUrlChannel object for a given IdUrl and channel name.

Parameters

url: string | URL | IdUrl

The url of the channel.

channel: string

The name of the channel.