Loop Until Cmd
open class LoopUntilCmd( action: () -> Unit, endCondition: () -> Boolean, requirements: KSubsystem) : Cmd
Content copied to clipboard
Constructors
Link copied to clipboard
fun LoopUntilCmd( action: () -> Unit, endCondition: () -> Boolean, vararg requirements: KSubsystem)
Content copied to clipboard
Properties
Inherited properties
Functions
Inherited functions
Link copied to clipboard
Run n commands in parallel with this command, ending when all commands have ended
Link copied to clipboard
Pause for n seconds after this command ends
Link copied to clipboard
Runs n commands sequentially after this command
Link copied to clipboard
Cancel command. KScheduler.cancel
Link copied to clipboard
Runs n commands in parallel with this command, ending when this command ends
Link copied to clipboard
First part of running a command, called on start of command.
Link copied to clipboard
Schedule command. Syntax sugar for KScheduler.schedule
Link copied to clipboard
Wait until a condition has been fulfilled to run this command
Link copied to clipboard
Cancels this command after some time if not finished