Package-level declarations
Types
Link copied to clipboard
interface CommandScope
The receiver of a CoroutineCommand body.
Link copied to clipboard
class CoroutineCommand(requirements: Set<Any> = emptySet(), priority: Int = 0, interruptedBehavior: InterruptedBehavior = InterruptedBehavior.END, conflictBehavior: ConflictBehavior = ConflictBehavior.OVERRIDE, blockedBehavior: BlockedBehavior = BlockedBehavior.CANCEL, body: suspend CommandScope.() -> Unit) : Command
A Command whose behavior is written as a sequential coroutine instead of as a start/execute/done state machine.
Link copied to clipboard
Builds a CoroutineCommand, in the same fluent style as com.pedropathing.ivy.CommandBuilder.
Properties
Functions
Link copied to clipboard
Creates a CoroutineCommandBuilder with the given body.