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

Function markInternalThreadUpdate

desktop/runtime/live-thread-store.ts:8–10  ·  view source on GitHub ↗
(sessionPath: string, timestamp = Date.now())

Source from the content-addressed store, hash-verified

6const EXTERNAL_UPDATE_SUPPRESSION_MS = 500
7
8export function markInternalThreadUpdate(sessionPath: string, timestamp = Date.now()) {
9 recentInternalThreadUpdateAt.set(sessionPath, timestamp)
10}
11
12export function rememberLiveThread(sessionPath: string, thread: ThreadData) {
13 liveThreads.set(sessionPath, thread)

Callers 3

enqueueHostThreadUpdateFunction · 0.90
subscribeDesktopEventsFunction · 0.90
publishThreadUpdateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected