waitForMessage ROS2 equivalent?
In ROS1 there was the useful function ros::topic::waitForMessage(..). Is there an equivalent for ROS2 yet?
I have found the following question from a while ago: https://answers.ros.org/question/3073...
but maybe there is an easier solution available now.