MCPcopy
hub / github.com/opentrace/opentrace / close

Method close

ui/src/job/eventChannel.ts:46–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 close(): void {
47 if (this.closed) return;
48 this.closed = true;
49 if (this.waiting) {
50 const w = this.waiting;
51 this.waiting = null;
52 w.resolve({ value: undefined as T, done: true });
53 }
54 }
55
56 error(err: unknown): void {
57 if (this.closed) return;

Callers 4

startJobMethod · 0.95
startImportFileJobMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected