MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / useCacheService

Function useCacheService

src/services/cache/service.ts:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import type { CacheServiceAdapter } from './types'
3
4export function useCacheService(): CacheServiceAdapter {
5 return getRegisteredAdapter<CacheServiceAdapter>('cache')
6}

Callers 3

downloadImageFunction · 0.90
exportConversationFunction · 0.85
exportSQLResultFunction · 0.85

Calls 1

getRegisteredAdapterFunction · 0.90

Tested by

no test coverage detected