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

Function fetchImpl

apps/cloud/src/auth/jwks-cache.ts:123–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 // Capture the fetch impl lazily so consumers can swap globalThis.fetch
122 // (tests do this) without us snapshotting a stale reference.
123 const fetchImpl = (): typeof globalThis.fetch =>
124 options.fetch ?? globalThis.fetch.bind(globalThis);
125
126 let entry: CacheEntry | null = null;
127 let inflight: Promise<CacheEntry> | null = null;

Callers 3

fetchJwksOnceFunction · 0.70
refreshFunction · 0.70
browserTracesResponseFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected