MCPcopy Create free account
hub / github.com/chokcoco/iCSS / CacheItem

Interface CacheItem

website/app/lib/cache.ts:1–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1interface CacheItem<T> {
2 data: T;
3 timestamp: number;
4 ttl: number; // Time to live in milliseconds
5}
6
7class Cache {
8 private static instance: Cache;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected