TransitionDirection

sealed interface TransitionDirection

Caller should check subclass to recognise/distinguish NoTransition and Stay cases.

Properties

Link copied to clipboard
open val targetState: IState?

Already resolved target state of conditional transition or PseudoState computation This is always one of targetStates list elements or null, if the list is empty.

Link copied to clipboard
abstract val targetStates: Set<IState>

Transition can target multiple states if they all are located at different regions of a parallel state.