ReadonlyidUnique connection ID.
ReadonlyisWhether this connection is still open.
ReadonlylastThe client's Last-Event-ID header value, if present.
ReadonlyresultThe HandlerResult obtained from ctx.response.stream(). The handler
returns this value so the kernel maps it to the correct web response.
Closes the connection: clears the heartbeat, closes the stream controller, and marks the connection as closed. Idempotent.
Enqueues a plain-text comment frame (: <text>\n\n) — commonly used as a
keep-alive heartbeat.
The comment text
Enqueues an encoded SSE frame for the connected client.
The message to encode and send
A live SSE connection backed by a
ReadableStream.The connection owns its stream lifecycle (heartbeat interval, controller, abort listener) and exposes
send,comment, andclose.Since
0.1.0