Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Command

The command class represents a potential long running activity. This activity has been wrapped into an object to ease the tracking of the processing state. Create a command with receiver information, execute the command and check the status and progress. Check the result when finsished.

Hierarchy

Index

Constructors

constructor

Properties

Protected client

client: Client

Protected percentCompleted

percentCompleted: number

Protected resultMetaData

resultMetaData: CommandResultMetaData

Protected status

Methods

execute

  • execute(): Promise<void>

getPercentCompleted

  • getPercentCompleted(): number

getResultMetaData

getStatus

isFinished

  • isFinished(): boolean

Protected Abstract onExecute

  • onExecute(): Promise<void>

Generated using TypeDoc