Skip to content

basalt / ai/src / SseFetch

Type Alias: SseFetch ​

> SseFetch = (url, init) => Promise<SseResponse>

Defined in: ai/src/provider/sse.ts:19

Parameters ​

url ​

string

init ​

body? ​

string

headers? ​

Record<string, string>

method? ​

string

signal? ​

AbortSignal

Returns ​

Promise<SseResponse>

Released under the MIT License.