Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CommandServiceCallback

An callback for command services

Hierarchy

  • CommandServiceCallback

Index

Methods

Methods

fail

  • The command service failed with an error

    Parameters

    • error: ErrorReasonType

      the reason for the error

    • msg: string

      the error message

    Returns void

respond

  • respond(response?: any): void
  • Respond to a request with a response

    Parameters

    • Optional response: any

      the response to send

    Returns void