Module

x/hono/helper/streaming/sse.ts>streamSSE

Web Framework built on Web Standards
Extremely Popular
Go to Latest
variable streamSSE
import { streamSSE } from "https://dotland.deno.dev/x/hono@v4.3.9/helper/streaming/sse.ts";

type

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