What's the inverse of Particle.function()?

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 :wink:
https://github.com/spark/firmware/issues/1123

Good call! Making sure it’s on our firmware roadmap @jernstlun @ScruffR

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.