MCPcopy Create free account
hub / github.com/Noumena-Network/code / prefetchPassesEligibility

Function prefetchPassesEligibility

src/services/api/referral.ts:289–296  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287 * Prefetch passes eligibility on startup
288 */
289export async function prefetchPassesEligibility(): Promise<void> {
290 // Skip network requests if nonessential traffic is disabled
291 if (isEssentialTrafficOnly()) {
292 return
293 }
294
295 void getCachedOrFetchPassesEligibility()
296}

Callers 1

runStartupPrefetchesFunction · 0.85

Calls 2

isEssentialTrafficOnlyFunction · 0.85

Tested by

no test coverage detected