MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / touchCacheKey

Function touchCacheKey

packages/core/sdk/src/subject-registry.ts:80–80  ·  view source on GitHub ↗
(tenant: string, externalId: string)

Source from the content-addressed store, hash-verified

78const lastTouchedAt = new Map<string, number>();
79
80const touchCacheKey = (tenant: string, externalId: string) => `${tenant}${externalId}`;
81
82const rememberTouch = (key: string, at: number): void => {
83 // Re-insert so the key moves to the end of the Map's insertion order, making

Callers 1

touchSubjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected