Options
All
  • Public
  • Public/Protected
  • All
Menu

Actions represent the calling of an external source without a return

Hierarchy

  • Action

Implemented by

Properties

Methods

Properties

__variant__

__variant__: string

Metadata of the class name for parsing from a JSON

name

name: string | void

A unique identifier for an action within a Device

Methods

run

Executes the task, returning a promise containing its success

Returns Promise<ActionSuccess>

Static fromJSON

Uses the variant metadata to map a JSON object to a class

Parameters

  • json: any

Returns Action

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