Module

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

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

type

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