Skip to content
New issue

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

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

Already on GitHub? # to your account

DeleteRoute implementation #331

Open
kevinburke1 opened this issue Jul 9, 2019 · 2 comments
Open

DeleteRoute implementation #331

kevinburke1 opened this issue Jul 9, 2019 · 2 comments

Comments

@kevinburke1
Copy link

Looking at the Client API and codebase, it is possible to add a route with a callback, but impossible to delete a route. The code is there - deleteRoute in router.go and it's called from Unsubscribe but there's no way to get at it from the public API.

@t2wu
Copy link

t2wu commented Dec 25, 2020

Found any solution to this yet? I was looking at it as an alternative to subscribe a one callback if I intend to bind two callbacks per topic.

@MattBrittan
Copy link
Contributor

I've added a help wanted tag to this; it should be a simple change (but care is needed to ensure its threadsafe).

tomatod added a commit to tomatod/paho.mqtt.golang that referenced this issue Dec 26, 2022
…, related to eclipse-paho#331.

Signed-off-by: Daichi Tomaru <banaoa7543@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants