MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / suspend

Method suspend

frontend/src/services/uploadService.ts:403–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

401 }
402
403 suspend() {
404 if (this.status == "suspend") return;
405 this.status = "suspend";
406 this.task.forEach((t) => {
407 if (!t) return;
408 if (t.status != "completed") {
409 t.stop();
410 }
411 });
412 this.updateProgress();
413 }
414
415 unsuspend() {
416 if (this.status != "suspend") return;

Callers 1

updateMethod · 0.95

Calls 2

updateProgressMethod · 0.95
stopMethod · 0.65

Tested by

no test coverage detected