MCPcopy
hub / github.com/coder/mux / stop

Method stop

src/node/services/agentStatusService.ts:134–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 stop(): void {
135 this.stopped = true;
136 if (this.checkInterval) {
137 clearInterval(this.checkInterval);
138 this.checkInterval = null;
139 }
140 this.tracked.clear();
141 this.inFlightPromises.clear();
142 this.tickInFlight = false;
143 log.info("AgentStatusService stopped");
144 }
145
146 private async runTick(): Promise<void> {
147 if (this.stopped || this.tickInFlight) return;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected