MCPcopy Index your code
hub / github.com/simstudioai/sim / getCache

Function getCache

apps/sim/hooks/queries/tables.test.ts:101–103  ·  view source on GitHub ↗
(key: readonly unknown[])

Source from the content-addressed store, hash-verified

99}
100
101function getCache<T>(key: readonly unknown[]): T | undefined {
102 return cacheStore.get(JSON.stringify(key)) as T | undefined
103}
104
105beforeEach(() => {
106 cacheStore.clear()

Callers 1

tables.test.tsFile · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected