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
class CoroutineCommandBuilder : Command

Builds a CoroutineCommand, in the same fluent style as com.pedropathing.ivy.CommandBuilder.

Properties

Link copied to clipboard
val command1: CommandBuilder
Link copied to clipboard
val command2: CommandBuilder
Link copied to clipboard
val command3: CommandBuilder
Link copied to clipboard

Functions

Link copied to clipboard

Creates a CoroutineCommandBuilder with the given body.