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.
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.