interface TransitionBuilder<out S, out T : Any>
Base definition for a partially defined transition.
abstract val event: KClass<out T> |
|
abstract val startState: S |
infix fun <S, T : Any> TransitionBuilder<S, T>.resultsIn(newState: S): TransitionDef<S, out T>
Define how a transition builder should end completing a fully defined transition definition. |