method SseService.prototype.channel
SseService.prototype.channel(name: string): SseChannel

Return or create a named channel.

Parameters

name: string

Return Type

Usage

import { SseService } from "sse-plugin/src/index.ts";