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

Function makeHostedFetch

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

Source from the content-addressed store, hash-verified

260 }) as typeof globalThis.fetch;
261
262export const makeHostedFetch = (options: HostedHttpClientOptions = {}): typeof globalThis.fetch =>
263 // oxlint-disable-next-line executor/no-raw-fetch -- boundary: exposes a guarded Fetch API adapter for libraries that require fetch
264 guardFetch(options.fetch ?? globalThis.fetch, options);
265
266// ---------------------------------------------------------------------------
267// Span header redaction.

Callers 3

makeScopedExecutorFunction · 0.85
makePlatformExecutorFunction · 0.85

Calls 1

guardFetchFunction · 0.85

Tested by

no test coverage detected