I have a device that I want to subscribe to another classes’ callback. In order to be able to unsubscribe that class later, I’d like to pass it as a comparable to the class on subscription. I tried using “this” and “self” but they don’t exist. Is there a way to reference the class instance from within that instance?
You almost got it: it’s Self
with an upper case S.
2 Likes
So close Thanks!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.