method ISseConnection.comment
ISseConnection.comment(text: string): void

Enqueues a plain-text comment frame (: <text>\n\n) — commonly used as a keep-alive heartbeat.

Parameters

text: string

The comment text

Return Type

void

Usage

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