Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IInstance

The interface used to describe a state machine instance.

State machine instances hold the active state configuration for an instance of a StateMachine model. The state library allows there to be multiple state machine instances for a StateMachine model. By creating implementations of this interface, you can control how the active state configuration is managed, e.g. if persistence is required.

Hierarchy

  • IInstance

Implemented by

Index

Properties

isTerminated

isTerminated: boolean

Indicates that the state machine instance has reached a PseudoStateKind.Terminate PseudoState and therfore will no longer respond to messages.

Methods

getCurrent

getLastKnownState

  • getLastKnownState(region?: Region): State | undefined

setCurrent

Generated using TypeDoc