method WebSocketService.prototype.closeAll
WebSocketService.prototype.closeAll(): void

Closes every connection and stops the heartbeat. Called from the plugin's shutdown hook (AI_GUIDELINES ยง14.5).

Return Type

void

Usage

import { WebSocketService } from "websocket-plugin/src/index.ts";