TransitionType

Represents the different kinds of transitions.

Entries

Link copied to clipboard

Transitions are triggered and may change to a new state or remain at the same state while performing an action.

Link copied to clipboard

A push transition will place the current state map on a stack and make the named statemap the current map and change to the given state,

Link copied to clipboard

A pop transition will pop the stack and make the transition current. If the pop transition provided a new targetMap or targetState that will result in push or normal transition behaviour.

Link copied to clipboard

A default transition will take place when no configured state/event pair matches.

Link copied to clipboard

A timeout may trigger a transition if the timeout occurs. The timeout will be cancelled when the state exit action is triggered.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.