MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / makeHostedFetch

Function makeHostedFetch

packages/core/sdk/src/hosted-http-client.ts:249–251  ·  view source on GitHub ↗
(options: HostedHttpClientOptions = {})

Source from the content-addressed store, hash-verified

247 }) as typeof globalThis.fetch;
248
249export const makeHostedFetch = (options: HostedHttpClientOptions = {}): typeof globalThis.fetch =>
250 // oxlint-disable-next-line executor/no-raw-fetch -- boundary: exposes a guarded Fetch API adapter for libraries that require fetch
251 guardFetch(options.fetch ?? globalThis.fetch, options);
252
253export const makeHostedHttpClientLayer = (
254 options: HostedHttpClientOptions = {},

Callers 3

makeScopedExecutorFunction · 0.85
makePlatformExecutorFunction · 0.85

Calls 1

guardFetchFunction · 0.85

Tested by

no test coverage detected