Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CommandListener

name

CommandListener

Hierarchy

  • CommandListener

Index

Methods

onCommandError

  • Callback invoked when a command failed or is an unknown state.

    Parameters

    • subject: string

      The subject of the command.

    • commandErrorEvent: CommandErrorEvent

      Information about the command error.

    Returns void

Optional onCommandOk

  • onCommandOk(subject: string): void
  • Callback invoked when a command was successful.

    Parameters

    • subject: string

      The subject of the command.

    Returns void

Generated using TypeDoc