Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a stateful system

Hierarchy

Index

Constructors

Accessors

Methods

Constructors

Protected constructor

  • Construct a new StatefulSystem in a new state

    Returns StatefulSystem

Accessors

previousState

previousState:

The previous state of the system

state

state:

The current state of the system

Methods

Protected _transition

  • _transition(newState: State): void
  • Transition the system to a new state

    throws

    {TransitionError} if the transition is invalid

    Parameters

    • newState: State

      The new state

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc