Hi, to avoid wasting CPU if my publisher has no subscriber, I would prefer to prepare the message to send using something like get_subscription_count() on the Publisher object but this function does not seem available in rclrs.
I will try to provide de PR.