Skip to content

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.

ParameterType
urlstring | URL
init?RequestInit

Promise<Response>