ros_comm
ros_comm copied to clipboard
Expose is_shutdown_requested in rospy namespace.
Just like the C++ ros::isShuttingDown()
, this can be useful in certain
cases where shutdown needs to be checked before all shutdown handlers
finished.
The difference to is_shutdown()
is already clearly described in the
docstring of is_shutdown_requested()
(see here).