MCPcopy Index your code
hub / github.com/code100x/cms / ICache

Interface ICache

src/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

withMobileAuthFunction · 0.65
refreshDbInternalFunction · 0.65
changeVideoQualityFunction · 0.65
getPurchasesFunction · 0.65
rateLimitFunction · 0.65
setMethod · 0.65
setMethod · 0.65
GETFunction · 0.65
withMobileAuthFunction · 0.65
refreshDbInternalFunction · 0.65
constructorMethod · 0.65
VideoPlayerFunction · 0.65

Implementers 3

InMemoryCachesrc/lib/cache/in-memory-cache.ts
RedisCachesrc/lib/cache/redis-cache.ts
Cachesrc/db/Cache.ts

Calls

no outgoing calls

Tested by

no test coverage detected