ReadonlysignalAborts whenever this stream closes, including response cancellation. Async setup should pass it to cancellable subscription APIs.
Close the stream and run its cleanup exactly once.
Send an SSE comment. Comments are useful as connection heartbeats.
Returns false when the stream is no longer writable or its unread byte
limit would be exceeded.
Optionalvalue: stringSend a JSON-encoded event.
Returns false after the stream closes, when encoding fails, or when the
unread byte limit would be exceeded.
Controls exposed while an SSE response is active.