runWithTimeout

fun runWithTimeout(timeout: Time, vararg commandsToRun: Command)

Run a group of commands at the same time. Ends once the timeout is exceeded.

Parameters

timeout

The timeout length

commandsToRun

The commands to run


fun runWithTimeout(timeout: Time, sequence: SequentialCommandBuilder.() -> Unit)

Run a command sequence that ends once the timeout is exceeded.

Parameters

timeout

The timeout length

sequence

The sequence to run