finishing touches

This commit is contained in:
Darius
2026-02-09 19:22:52 +01:00
parent 872d3755d0
commit 9983ba1215
6 changed files with 3 additions and 36 deletions

3
dist/ws.d.ts vendored
View File

@@ -6,9 +6,6 @@ export type WsEvent = {
export type WsClientChangeCallback = (clients: number) => void;
export declare class WsService {
private clients;
private listeners;
onClientChange(callback: WsClientChangeCallback): () => void;
private emitClientChange;
addClient(ws: WebSocket): void;
removeClient(ws: WebSocket): void;
broadcast(message: WsEvent): void;