MCPcopy Create free account
hub / github.com/code100x/daily-code / ICache

Interface ICache

apps/web/lib/cache/cache.ts:1–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export interface ICache {
2 set(
3 type: string,
4 args: string[],
5 value: any,
6 expirySeconds: number,
7 ): Promise<void>;
8
9 get(type: string, args: string[]): Promise<any>;
10
11 evict(type: string, args: string[]): Promise<null>;
12 }

Callers 18

addToRemoveQueueFunction · 0.65
setMethod · 0.65
handleTrackClickFunction · 0.65
handlePointerMoveFunction · 0.65
getProblemFunction · 0.65
getFirstProblemForTrackFunction · 0.65
getAllProblemsFunction · 0.65
getTrackFunction · 0.65
getMethod · 0.65
SigninFunction · 0.65
getProblemFunction · 0.65
getFirstProblemForTrackFunction · 0.65

Implementers 3

Cachepackages/db/Cache.ts
InMemoryCacheapps/web/lib/cache/in-memory-cache.ts
RedisCacheapps/web/lib/cache/redis-cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected