Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

type

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