Unsubscribe from topic during publish() callback #21
If I try and unsubscribe my callback during the callback itself I get
which is the 3rd line in this snippet:
I think this is happening because my call to unsubscribe is removing a
My question is, is there any way to have a callback unsubscribe itself
I want to do this as I only want to be notified of a particular topic
The text was updated successfully, but these errors were encountered:
Here is the patch I made to my local copy (grimbo == me), though I'm sure someone could implement it better!