You're reading the documentation for a version of ROS 2 that has reached its EOL (end-of-life), and is no longer officially supported. If you want up-to-date information, please have a look at Iron.

Managing nodes with managed lifecycles

This page lives now directly side-by-side with the code. For more information about the lifecycle package, refer to rosindex.