launch.event_handlers.on_execution_complete module
- class launch.event_handlers.on_execution_complete.OnExecutionComplete[source]
Bases:
OnActionEventBaseConvenience class for handling an action completion event.
It may be configured to only handle the completion of a specific action, or to handle them all.
- __init__(*, target_action: Callable[[Action], bool] | Action | None = None, on_completion: LaunchDescriptionEntity | Iterable[LaunchDescriptionEntity] | Callable[[ExecutionComplete, LaunchContext], LaunchDescriptionEntity | Iterable[LaunchDescriptionEntity] | None], **kwargs) None[source]
Create an OnExecutionComplete event handler.