Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding a check if group_name exists method for channel_layer #2066

Closed
ninjia0 opened this issue Dec 23, 2023 · 1 comment
Closed

adding a check if group_name exists method for channel_layer #2066

ninjia0 opened this issue Dec 23, 2023 · 1 comment

Comments

@ninjia0
Copy link

ninjia0 commented Dec 23, 2023

I have been searching the internet, but I couldn't find a way to check if a specific group name exists in the channel_layer. Are there any methods or approaches to accomplish this?

@carltongibson
Copy link
Member

It's not part of the Channel Layer API.

Assuming you're using the PubSub Redis Layer, you could (as one idea) build something around the PUBSUB CHANNELS command. (Apply similar to your needs.)

@carltongibson carltongibson closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants