MCPcopy Create free account
hub / github.com/freecodexyz/free-code / getApiKeyFromApiKeyHelperCached

Function getApiKeyFromApiKeyHelperCached

src/utils/auth.ts:582–584  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

580 * Returns null only if the async fetch hasn't completed yet.
581 */
582export function getApiKeyFromApiKeyHelperCached(): string | null {
583 return _apiKeyHelperCache?.value ?? null
584}
585
586export function clearApiKeyHelperCache(): void {
587 _apiKeyHelperEpoch++

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected