basalt / realtime/src / sseConnection
Function: sseConnection()
> sseConnection(meta, io): Connection
Defined in: realtime/src/transport.ts:28
Builds an SSE Connection. The caller supplies how to write to and end the response (adapter-specific: fastify reply.raw, express res, a Hono stream), keeping this helper framework-neutral.