Options
All
  • Public
  • Public/Protected
  • All
Menu

An Action that combines multiple other Actions

example

new Macro([
    new DelayAction({name:"1",time:50}),
    new DelayAction({name:"2",time:500}),
],"test")

Hierarchy

  • Macro

Implements

Constructors

Properties

Methods

Constructors

constructor

Parameters

  • actions: Action[]
  • name: string Optional

Returns Macro

Properties

__variant__

__variant__: string = "Macro"

actions

actions: Action[]

name

name: string | void

Methods

run

Returns Promise<ActionSuccess>

Static fromJSON

  • fromJSON(json: object): Macro

Parameters

  • json: object
    • actions: any []
    • Optional name?: string

Returns Macro

  • 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.