FetchLike
type FetchLike = (url: string | URL, init?: RequestInit) => Promise<Response>;The standard fetch signature the SDK exposes on SourceContext.fetch.
Matches the platform fetch so existing code ports unchanged.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
url | string | URL |
init? | RequestInit |
Returns
Section titled “Returns”Promise<Response>