Class StdState

An FSM state. A standard state can compose an FSM. They do not start, stop, cancel an FSM. They accept input and output events.

Hierarchy

Implements

Constructors

Properties

_transitions: Transition<Event>[]
fsm: FSM

The FSM that contains the state.

name: string

The name of the state.

Accessors

Methods

  • Actions done while entering this state.

    Returns void

    Throws

    CancelFSMException If entering the state leads to a cancelling of the FSM execution.

  • Actions done when a transition of the state is executed so that this state is left.

    Returns void

    Throws

    CancelFSMException If leaving the state leads to a cancelling of the FSM execution.

Generated using TypeDoc