Fudge Aid
    Preparing search index...

    Class StateMachineInstructions<State>

    Set of instructions for a state machine. The set keeps all methods for dedicated actions defined for the states and all dedicated methods defined for transitions to other states, as well as default methods. Instructions exist independently from StateMachines. A statemachine instance is passed as parameter to the instruction set. Multiple statemachine-instances can thus use the same instruction set and different instruction sets could operate on the same statemachine.

    Type Parameters

    • State

    Hierarchy

    • Map<State, StateMachineMapStateToMethods<State>>
      • StateMachineInstructions
    Index

    Constructors

    • Type Parameters

      • State

      Parameters

      • Optionalentries: readonly (readonly [State, StateMachineMapStateToMethods<State>])[]

      Returns StateMachineInstructions<State>

    • Type Parameters

      • State

      Parameters

      • Optionaliterable: Iterable<readonly [State, StateMachineMapStateToMethods<State>], any, any>

      Returns StateMachineInstructions<State>

    Methods