MCPcopy
hub / github.com/simstudioai/sim / clear

Method clear

apps/sim/lib/mcp/storage/adapter.ts:12–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 set(key: string, tools: McpTool[], ttlMs: number): Promise<void>
11 delete(key: string): Promise<void>
12 clear(): Promise<void>
13 dispose(): void
14}

Callers 15

clearStorageMocksFunction · 0.65
ToastProviderFunction · 0.65
reportFunction · 0.65
resetAllStoresFunction · 0.65
store.tsFile · 0.65
store.tsFile · 0.65
clearEncodingCacheFunction · 0.65
getWorkerFunction · 0.65
disposeFunction · 0.65
destroyMethod · 0.65

Implementers 2

RedisMcpCacheapps/sim/lib/mcp/storage/redis-cache.t
MemoryMcpCacheapps/sim/lib/mcp/storage/memory-cache.

Calls

no outgoing calls

Tested by

no test coverage detected