Request the execution of the given expression as a REPL statement. We strongly recommend that you make use of a unique IdMessageBase#id in case the message responses happen in parallel.

  • ExecuteIntermediateResponseMessage
  • ExecuteEndMessage
interface ExecuteRequestMessage {
    ansi?: boolean;
    expression: string;
    id: undefined | string;
    type: "request-repl-execution";
}

Hierarchy (view full)

Hierarchy-Diagram

UML class diagram of ExecuteRequestMessage

Properties

Properties

ansi?: boolean

Should ansi formatting be enabled for the response? Is false by default.

expression: string

The expression to execute

id: undefined | string

The id that links a request with its responses, it is up to the calling client to make sure it is unique. However, the client does not have to pass the id if it does not need to link the request with its response. The id is always undefined if the message is unprompted (e.g., with hello) or the id unknown.

type: "request-repl-execution"

The at this time unknown type