MCPcopy Create free account
hub / github.com/MALSync/MALSync / refetchTtlValid

Method refetchTtlValid

src/utils/Cache.ts:26–28  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

24 }
25
26 protected refetchTtlValid(value) {
27 return this.valueValid(value, this.refetchTtl);
28 }
29
30 async hasValue() {
31 const value = await this.getStorage();

Callers 1

fullStateMethod · 0.95

Calls 1

valueValidMethod · 0.95

Tested by

no test coverage detected