Class StateMachine

Hierarchy

Constructors

Accessors

Methods

Constructors

Accessors

  • get canRestart(): boolean
  • Returns boolean

  • get canUndo(): boolean
  • Returns boolean

Methods

  • Type Parameters

    Parameters

    • func: TFunc
    • Rest ...args: Parameters<TFunc>

    Returns NextState

  • Parameters

    • action: (() => void)
        • (): void
        • Returns void

    Returns void

  • Parameters

    Returns Promise<void>

  • Returns boolean

Generated using TypeDoc