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.
newState - result of a successful transition
newState