method SseChannel.publish
SseChannel.publish(msg: SseMessage): void

Publishes a message to every open member of this channel, skipping any connection whose ISseConnection.isOpen is false.

Parameters

The message to broadcast

Return Type

void

Usage

import { type SseChannel } from "common/src/index.ts";