suave.action_server_utils.when_lifecycle_active

suave.action_server_utils.when_lifecycle_active(func)

Decorate a method to run only when its lifecycle node is active.