MCPcopy Index your code
hub / github.com/MALSync/MALSync / getValue

Method getValue

src/utils/Cache.ts:64–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 }
63
64 async getValue(): Promise<T | null> {
65 const value = await this.getStorage();
66 return value.data;
67 }
68
69 async setValue(result: T) {
70 const save = { data: result, timestamp: new Date().getTime() };

Callers 10

getProgressTypeListFunction · 0.95
initFunction · 0.95
getRulesCacheKeyFunction · 0.95
userIdFunction · 0.95
fillRelationsMethod · 0.95
checkForFillerMethod · 0.95
initFunction · 0.45
getCachedFunction · 0.45
cacheSeriesFunction · 0.45
getSeriesFunction · 0.45

Calls 1

getStorageMethod · 0.95

Tested by

no test coverage detected