BlockingSwitchCommand

constructor(value: () -> Any, vararg outcomes: Pair<Any, () -> Command>, default: () -> Command? = null)

Parameters

value

the value to reference

outcomes

all of the options for outcomes

default

the command to schedule if none of the outcomes are fulfilled