MCPcopy Create free account
hub / github.com/0PandaDEV/Ziit / handleProgressUpdate

Method handleProgressUpdate

server/utils/import-queue.ts:319–327  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

317 }
318
319 private handleProgressUpdate(data: any): void {
320 if (data.chunkId) {
321 const chunk = this.workChunks.get(data.chunkId);
322 if (chunk) {
323 chunk.progress = data.progress;
324 this.updateJobProgress(chunk.jobId);
325 }
326 }
327 }
328
329 private async createAsyncWorker(workerId: number): Promise<void> {
330 while (true) {

Callers 1

handleWorkerMessageMethod · 0.95

Calls 1

updateJobProgressMethod · 0.95

Tested by

no test coverage detected