MCPcopy Create free account
hub / github.com/Moli-X/Resources / getCache

Function getCache

Script/JD/JDPriceLite.js:461–464  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

459 if (isSurge) return $persistentStore.write(value, key);
460 };
461 const getCache = (key) => {
462 if (isQuanX) return $prefs.valueForKey(key);
463 if (isSurge) return $persistentStore.read(key);
464 };
465 const adapterStatus = (response) => {
466 if (response.status) {
467 response["statusCode"] = response.status;

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected