MCPcopy Create free account
hub / github.com/TheCSir/TerminalStart / cacheKey

Function cacheKey

src/hooks/useMarketData.ts:9–11  ·  view source on GitHub ↗
(provider: MarketProvider)

Source from the content-addressed store, hash-verified

7}
8
9function cacheKey(provider: MarketProvider): string {
10 return `tui-market-cache-${provider}`;
11}
12
13function loadCache(provider: MarketProvider): CachedData | null {
14 try {

Callers 2

loadCacheFunction · 0.85
saveCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected