Closed bcba25 closed 6 years ago
Hi @hxdef2517, See https://docs.nestjs.com/websockets/gateways Lifecycle hooks section.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
I'm submitting a...
Current behavior
There is a function called handleConnection in a WebSocketGateway which allows me to track connected users. But how do I catch those who was disconnected ? I've tried to write something like this:
but this event is never called.
Environment