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

Interface ICacheEntry

apps/web/lib/cache/in-memory-cache.ts:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { ICache } from './cache';
2
3interface ICacheEntry {
4 value: any;
5 expiry: number;
6}
7
8export class InMemoryCache implements ICache {
9 private inMemoryDb: Map<string, ICacheEntry>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected