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

Function fetchImpl

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

Source from the content-addressed store, hash-verified

267 // Capture the fetch impl lazily so consumers can swap globalThis.fetch
268 // (tests do this) without us snapshotting a stale reference.
269 const fetchImpl = (): typeof globalThis.fetch =>
270 options.fetch ?? globalThis.fetch.bind(globalThis);
271
272 let entry: CacheEntry | null = null;
273 let inflight: Promise<CacheEntry> | null = null;

Callers 5

fetchOAuthJsonFunction · 0.85
resolveDistTagsFunction · 0.85
fetchJwksOnceFunction · 0.85
refreshFunction · 0.85
browserTracesResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected