MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / markProgressDone

Method markProgressDone

packages/sync/src/pull-engine.ts:477–483  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

475 }
476
477 private markProgressDone(sessionId: string): void {
478 const p = this.progressMap.get(sessionId)
479 if (p) {
480 p.done = true
481 setTimeout(() => this.progressMap.delete(sessionId), 5000)
482 }
483 }
484
485 async pullAllSessions(ds: DataSource): Promise<void> {
486 if (this.pullingSourceIds.has(ds.id)) {

Callers 1

executePullSessionMethod · 0.95

Calls 3

setTimeoutFunction · 0.85
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected