MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / stop

Method stop

src/runtime/adapters/web.ts:443–453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441 }
442
443 async stop(): Promise<void> {
444 if (this.wss) {
445 for (const client of this.wss.clients) {
446 client.close();
447 }
448 this.wss.close();
449 this.wss = null;
450 }
451 this.socketsByChannel.clear();
452 console.log("[WebAdapter] Stopped");
453 }
454
455 async sendMessage(channelId: string, text: string): Promise<void> {
456 const sockets = this.socketsByChannel.get(channelId);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected