race

public final RaceCommand race(Command other)

Adds a command to run in parallel with this one (Both run simultaneously until one finishes).


public final RaceCommand race(Runnable runnable)

Adds a runnable to run in parallel with this one (Both run simultaneously until one finishes).