MCPcopy
hub / github.com/ValueCell-ai/ClawX / beginSessionLabelHydration

Function beginSessionLabelHydration

src/stores/chat/session-label-hydration.ts:71–76  ·  view source on GitHub ↗
(sessionKey: string, version: string)

Source from the content-addressed store, hash-verified

69}
70
71export function beginSessionLabelHydration(sessionKey: string, version: string): boolean {
72 if (sessionLabelHydrationInFlight.get(sessionKey) === version) return false;
73 if (sessionLabelHydrationHandled.get(sessionKey)?.version === version) return false;
74 sessionLabelHydrationInFlight.set(sessionKey, version);
75 return true;
76}
77
78export function finishSessionLabelHydration(
79 sessionKey: string,

Callers 2

chat.tsFile · 0.90
createSessionActionsFunction · 0.90

Calls 2

getMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected