MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / rememberLiveThread

Function rememberLiveThread

desktop/runtime/live-thread-store.ts:12–14  ·  view source on GitHub ↗
(sessionPath: string, thread: ThreadData)

Source from the content-addressed store, hash-verified

10}
11
12export function rememberLiveThread(sessionPath: string, thread: ThreadData) {
13 liveThreads.set(sessionPath, thread)
14}
15
16export function getLiveThread(sessionPath: string) {
17 return liveThreads.get(sessionPath) ?? null

Callers 4

enqueueHostThreadUpdateFunction · 0.90
publishThreadUpdateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected