How do I unregister it again? Can’t?
P.S. would be nice if Particle.unsubscribe() took the name of the event as an argument which was used for the subscription and only unsubscribed from that single subscription.
How do I unregister it again? Can’t?
P.S. would be nice if Particle.unsubscribe() took the name of the event as an argument which was used for the subscription and only unsubscribed from that single subscription.
Agreed!
Hence I had proposed such thing quite a while ago
https://github.com/spark/firmware/issues/1123
While you are at it, you might also want to add a Particle.unvariable( const char * ).
Which wins me today’s API naming contest I believe.