Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StateMachineInstance

A working implementation of the IInstance interface.

note

It is possible to create other custom state machine instance classes in other ways (e.g. serialisable JSON); just implement the IInstance interface.

Hierarchy

  • StateMachineInstance

Implements

Index

Constructors

constructor

Properties

current

current: object
internal

Type declaration

isTerminated

isTerminated: boolean = false

Indicates that the StateMachine instance reached was terminated by reaching a Terminate PseudoState.

last

last: object
internal

Type declaration

name

name: string

The optional name of the StateMachineInstance.

Methods

getCurrent

getLastKnownState

setCurrent

toString

  • toString(): string

Generated using TypeDoc