Creates the timeout transition.
The source state of the transition.
The output state of the transition.
The function that returns the timeout value in ms.
Optional
logger: LoggerThe logger to use.
Optional
action: ((evt) => void)The action to execute when going through the transition
Readonly
actionReadonly
guardPrivate
Readonly
loggerReadonly
srcReadonly
tgtPrivate
Readonly
timeoutThe timeoutDuration in ms.
Private
timeoutThe current thread in progress.
Private
timeoutedThe target state of the transition
Visiting the transition.
The visitor.
Executes the transition.
Optional
event: EventThe event to process.
The potential output state.
CancelFSMException If the execution cancels the FSM execution.
The set of events accepted by the transition.
Generated using TypeDoc
A timeout transition is an FSM transition that is not executed by an event: the FSM goes through such a transition on a timeout.