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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
opts |
RequestInit_ |
Returns
Section titled “Returns”AsyncGenerator<string>