Skip to content

streamSse

function streamSse(opts): AsyncGenerator<string>;

Defined in: core/src/transport.ts:328

POST an SSE request and stream its payloads: the envelope (auth, the classified error, the retry hints) plus parseSseStream.

Parameter Type
opts RequestInit_

AsyncGenerator<string>