MCPcopy
hub / github.com/sjdonado/idonthavespotify / set

Function set

src/services/cache.ts:74–76  ·  view source on GitHub ↗
(key: string, value: T, ttl?: number)

Source from the content-addressed store, hash-verified

72 },
73
74 async set<T>(key: string, value: T, ttl?: number): Promise<void> {
75 cache.set(key, value, ttl);
76 },
77
78 async del(key: string): Promise<void> {
79 cache.del(key);

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected