MCPcopy Create free account
hub / github.com/cedriking/spark / stop

Method stop

src/task-queue.ts:32–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30 }
31
32 async stop() {
33 this.tasks.length = 0;
34 this.intervals.forEach(clearInterval);
35 this.intervals = [];
36 if (this.running) {
37 await this.running;
38 }
39 }
40
41 private async runNext() {
42 if (this.running) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected