abstract Event emission
This commit is contained in:
@@ -40,6 +40,7 @@ export async function Connection(this: Server, socket: WebSocket, request: Incom
|
||||
socket.deflate.on("data", (chunk) => socket.send(chunk));
|
||||
}
|
||||
|
||||
socket.events = {};
|
||||
socket.permissions = {};
|
||||
socket.sequence = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user