Class InitState

An FSM state. An initial state is the unique state that can start an FSM.

Hierarchy

Constructors

Properties

_transitions: Transition<Event>[]
fsm: FSM

The FSM that contains the state.

name: string

The name of the state.

Accessors

Methods

  • 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