EventAndArgument

data class EventAndArgument<E : Event>(val event: E, val argument: Any?)

Pair of event and argument coming from processEvent() method. Used as single argument in all guard and conditional callbacks same as TransitionParams for transitions

Constructors

Link copied to clipboard
constructor(event: E, argument: Any?)

Properties

Link copied to clipboard
Link copied to clipboard
val event: E

Functions

Link copied to clipboard
suspend fun EventAndArgument<*>.targetParallelStates(targetState1: IState, targetState2: IState, vararg targetStates: IState): TransitionDirection
Link copied to clipboard

Transition is triggered with a targetState, resolving it in place if it is a PseudoState