Checks if this node has a subscriber. Use this for things like polling when you only want to do something if the node is subscribed to.
Source
bool get hasSubscriber => callbacks.isNotEmpty;
Checks if this node has a subscriber. Use this for things like polling when you only want to do something if the node is subscribed to.
bool get hasSubscriber => callbacks.isNotEmpty;