transition

inline fun <S : State> transition(block: TransitionBuilder<S>.() -> Unit): TransitionResult<S>