WaitCommand¶
- class commands1.WaitCommand(*args, **kwargs)¶
Bases:
commands1._impl._commands_v1.command.TimedCommand
A WaitCommand will wait for a certain amount of time before finishing. It is useful if you want a CommandGroup to pause for a moment.
This class is provided by the OldCommands VendorDep
Overloaded function.
__init__(self: commands1._impl._commands_v1.command.WaitCommand, timeout: seconds) -> None
Creates a new WaitCommand with the given name and timeout.
- Parameters
timeout – the time before this command “times out”
__init__(self: commands1._impl._commands_v1.command.WaitCommand, name: str, timeout: seconds) -> None
Creates a new WaitCommand with the given timeout.
- Parameters
name – the name of the command
timeout – the time before this command “times out”