How to find out the number of connections to websocket and get a set of users in Django channels

I need to somehow get all users collected to the group in order to exclude them from receiving real-time notifications. Can this be done using standard methods, or are there libraries available to solve this problem?

At the moment, I have not been able to find a function that would count the number of connections.

Вернуться на верх