Go to Latest
class Channel
import { Channel } from "https://dotland.deno.dev/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)