Package io.deephaven.web.client.ide
Class CommandInfo
java.lang.Object
io.deephaven.web.client.ide.CommandInfo
Event fired when a command is issued from the client.
-
Constructor Summary
ConstructorsConstructorDescriptionCommandInfo(String code, elemental2.promise.Promise<JsCommandResult> result) -
Method Summary
Modifier and TypeMethodDescriptiongetCode()The command text submitted for execution.elemental2.promise.Promise<JsCommandResult> A promise that resolves with the result of executinggetCode().
-
Constructor Details
-
CommandInfo
-
-
Method Details
-
getCode
The command text submitted for execution.This is the exact code string associated with this command request.
-
getResult
A promise that resolves with the result of executinggetCode().The promise resolves to a
JsCommandResultwhen the command completes, and may reject if command execution fails.
-