Skip to main content
Go to Latest
class Channel
import { Channel } from "https://deno.land/std@0.177.0/node/diagnostics_channel.ts";

Constructors

new
Channel(name: string)

Properties

_subscribers: Subscriber[]
readonly
hasSubscribers
name: string

Methods

publish(message: unknown)
subscribe(subscription: Subscriber)
unsubscribe(subscription: Subscriber)