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

Re-evaluate unsubscribe interface #211

Open
tolauwae opened this issue Sep 29, 2023 · 0 comments
Open

Re-evaluate unsubscribe interface #211

tolauwae opened this issue Sep 29, 2023 · 0 comments

Comments

@tolauwae
Copy link
Member

tolauwae commented Sep 29, 2023

The interface of unsubscribe is weird, as it uses the fidx. This makes it easy to implement in WA.
However, in Rust or AssemblyScript this doesn't make as much sense, and can often go wrong. (Same function different fidx) This is probably the reason why multiple callbacks per topic isn't that usual in MQTT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant