MCPcopy
hub / github.com/kuma-ui/kuma-ui / ICache

Interface ICache

packages/sheet/src/cache.ts:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7};
8
9export interface ICache<T> {
10 get: (key: string) => T | undefined;
11 set: (key: string, value: T) => void;
12 reset: () => void;
13}
14
15class StyleCache implements ICache<ResponsiveStyle> {
16 private static instance: StyleCache;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected