Options
All
  • Public
  • Public/Protected
  • All
Menu

An Action to delay execution, primarily used for a Macro

example

new DelayAction(1000,"wait")

Hierarchy

  • DelayAction

Implements

Constructors

Properties

Methods

Constructors

constructor

  • new DelayAction(time: number, name?: string): DelayAction

Parameters

  • time: number

    Time to delay for in milliseconds

  • name: string Optional

Returns DelayAction

Properties

__variant__

__variant__: string = "DelayAction"

name

name: string | void

time

time: number

Methods

run

Returns Promise<ActionSuccess>

Static fromJSON

Parameters

  • json: object
    • Optional name?: string
    • time: number

Returns DelayAction

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.