<T = unknown>(c: Context<any, any, {}>, log: Logger): { response: Response; stream: SseStream<T>; } Create an SSE response for a Hono context.
Wraps Hono's streamSSE to provide a {response, stream} API
compatible with SubscriberRegistry push-based broadcasting.
The callback suspends via a promise that resolves on client disconnect
or explicit close(), keeping the stream alive for external sends.
Uses hono_stream.write() directly (not writeSSE) to avoid
Hono's HTML callback resolution — keeps the same data: JSON\n\n format.
c
Hono context
Context<any, any, {}>log
Loggerreturns
{ response: Response; stream: SseStream<T>; } object with response and stream controller