Module

x/hono/helper.ts>streamSSE

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
variable streamSSE
import { streamSSE } from "https://dotland.deno.dev/x/hono@v4.1.5/helper.ts";

type

(
cb: (stream: SSEStreamingApi) => Promise<void>,
onError?: (e: Error, stream: SSEStreamingApi) => Promise<void>,
) => unknown