getUserSockets static method
Implementation
static Iterable<UserWebSocket> getUserSockets(dynamic userId) {
_closeInActiveSockets();
return _sockets[userId] ?? [];
}
static Iterable<UserWebSocket> getUserSockets(dynamic userId) {
_closeInActiveSockets();
return _sockets[userId] ?? [];
}