LoadOptions
Defined in: packages/data-providers/src/fetch-json.ts:4
Extended by
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
fetch? | readonly | { (input, init?): Promise<Response>; (input, init?): Promise<Response>; } | Fetch implementation to use instead of the global one. Injecting is how this package's own tests avoid touching the network, and it's the hook for a Next.js caching wrapper or a Node agent with a proxy configured. | packages/data-providers/src/fetch-json.ts:10 |
signal? | readonly | AbortSignal | Forwarded to the underlying request, so callers can cancel a slow load. | packages/data-providers/src/fetch-json.ts:12 |