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

function for deleting channel #25

Open
kansi opened this issue Sep 13, 2015 · 3 comments
Open

function for deleting channel #25

kansi opened this issue Sep 13, 2015 · 3 comments

Comments

@kansi
Copy link

kansi commented Sep 13, 2015

I tried to look around in the code base but couldn't find any function for deleting a channel. Did I miss it or is it not there ?

@cabol
Copy link
Owner

cabol commented Sep 13, 2015

You're right, in this momento erlbus doesn't implement delete function for channels. This is because the original idea was to have idempotent operations, so if you take a look at ebus_pg2 if you subscribe to a channel and it doesn't exist, then that channel is created and then the subscription, and the same with the other operations -- is something similar what gproc does. But I agree that probably could be useful to have explicitly delete function in some cases. I'll consider your suggestion as a new feature, so this will remain as an issue. Meanwhile if you already have an idea or something implemented, or any other suggestion/comment, please feel free to share it!

Thanks!

@kansi
Copy link
Author

kansi commented Sep 14, 2015

Since you granted me the liberty to give my suggestions I will point out a few things:

@cabol
Copy link
Owner

cabol commented Sep 15, 2015

Good suggestions, I agree with them. So we'll work on them soon!

Thanks!!!

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