Event fired when a command is issued from the client.

Hierarchy

  • CommandInfo

Constructors

Accessors

Constructors

Accessors

  • get code(): string
  • The command text submitted for execution.

    This is the exact code string associated with this command request.

    Returns string

  • get result(): Promise<CommandResult>
  • A promise that resolves with the result of executing code.

    The promise resolves to a CommandResult when the command completes, and may reject if command execution fails.

    Returns Promise<CommandResult>