MCPcopy
hub / github.com/solidSpoon/DashPlayer / set

Method set

src/backend/application/services/CacheService.ts:11–11  ·  view source on GitHub ↗
(type: T, key: string, value: CacheType[T], ttl?: number)

Source from the content-addressed store, hash-verified

9export default interface CacheService {
10 get<T extends keyof CacheType>(type: T, key: string): CacheType[T] | null;
11 set<T extends keyof CacheType>(type: T, key: string, value: CacheType[T], ttl?: number): void;
12 delete<T extends keyof CacheType>(type: T, key: string): void;
13 clear(): void;
14}

Callers 15

storeSetFunction · 0.65
translateMethod · 0.65
updateTagNameMethod · 0.65
updateByIdMethod · 0.65
cancelAllActiveMethod · 0.65
updateByIdMethod · 0.65
getWordsMapByClipKeysMethod · 0.65
storeSetMethod · 0.65
updateStorageSettingsMethod · 0.65

Implementers 1

CacheServiceImplsrc/backend/application/services/impl/

Calls

no outgoing calls

Tested by

no test coverage detected