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

Function refreshInBackground

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

Source from the content-addressed store, hash-verified

313
314 /** Fire-and-forget revalidation behind a stale hit. */
315 const refreshInBackground = (): void => {
316 void ignoreFailure(refresh());
317 };
318
319 const loadFromStore = async (): Promise<CacheEntry | null> => {
320 if (!store) return null;

Callers 1

ensureFreshFunction · 0.85

Calls 2

ignoreFailureFunction · 0.85
refreshFunction · 0.70

Tested by

no test coverage detected