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

Method onEnd

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

Source from the content-addressed store, hash-verified

117 }
118
119 onEnd() {
120 this.callbacks.onEnd.forEach((callback) => {
121 try {
122 callback();
123 } catch (e) {
124 console.error("Error in upload end callback:", e);
125 }
126 });
127 this.callbacks.onEnd.clear();
128 }
129
130 nextTask(): UploadTask | undefined {
131 const rangeStart = this.offset;

Callers 2

stopMethod · 0.95
updateMethod · 0.80

Calls 2

errorMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected