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

Function makeHostedFetch

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

Source from the content-addressed store, hash-verified

741};
742
743export const makeHostedFetch = (options: HostedHttpClientOptions = {}): typeof globalThis.fetch =>
744 // oxlint-disable-next-line executor/no-raw-fetch -- boundary: exposes a guarded Fetch API adapter for libraries that require fetch
745 guardFetch(options.fetch ?? globalThis.fetch, options);
746
747/**
748 * The guarded fetch and the guarded HttpClient layer over ONE resolution

Callers 3

makeCountingFunction · 0.90
runFunction · 0.90

Calls 1

guardFetchFunction · 0.85

Tested by 2

makeCountingFunction · 0.72
runFunction · 0.72