Class CommandInfo

java.lang.Object
io.deephaven.web.client.ide.CommandInfo

@JsType(namespace="dh") public class CommandInfo extends Object
Event fired when a command is issued from the client.
  • Constructor Details

  • Method Details

    • getCode

      @JsProperty public String getCode()
      The command text submitted for execution.

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

    • getResult

      @JsProperty public elemental2.promise.Promise<JsCommandResult> getResult()
      A promise that resolves with the result of executing getCode().

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