readSseStream
readSseStream(
response,options):Promise<void>
Defined in: sse.ts:116
Drain a fetch Response body as SSE.
Returns when the server closes the stream. Aborting via signal resolves
rather than throwing: a component unmounting mid-stream is the normal way
these end, not an error worth surfacing in a customer’s console.
Parameters
Section titled “Parameters”response
Section titled “response”Response
options
Section titled “options”ReadSseOptions
Returns
Section titled “Returns”Promise<void>