MCPcopy
hub / github.com/callstack/agent-device / set

Function set

src/platforms/app-resolution-cache.ts:50–56  ·  view source on GitHub ↗
(scope, target, value)

Source from the content-addressed store, hash-verified

48 return entry.value;
49 },
50 set(scope, target, value) {
51 entries.set(buildAppResolutionCacheKey(scope, target), {
52 value,
53 expiresAtMs: nowMs() + ttlMs,
54 });
55 return value;
56 },
57 clear(scope) {
58 clearScope(scope);
59 },

Callers

nothing calls this directly

Calls 2

setMethod · 0.80

Tested by

no test coverage detected