An 'execute_result' message on the 'iopub' channel.

See Execution results.

interface IExecuteResultMsg {
    buffers?: (ArrayBuffer | ArrayBufferView)[];
    channel: "iopub";
    content: {
        data: IMimeBundle;
        execution_count: ExecutionCount;
        metadata: PartialJSONObject;
        transient?: {
            display_id?: string;
        };
    };
    header: IHeader<"execute_result">;
    metadata: JSONObject;
    parent_header: IHeader<KernelMessage.MessageType> | Record<string, never>;
}

Hierarchy (view full)

Properties

buffers?: (ArrayBuffer | ArrayBufferView)[]

An optional list of binary buffers.

channel: "iopub"

The channel on which the message is transmitted.

content: {
    data: IMimeBundle;
    execution_count: ExecutionCount;
    metadata: PartialJSONObject;
    transient?: {
        display_id?: string;
    };
}

The content of the message.

Type declaration

  • data: IMimeBundle
  • execution_count: ExecutionCount
  • metadata: PartialJSONObject
  • Optional transient?: {
        display_id?: string;
    }
    • Optional display_id?: string
header: IHeader<"execute_result">

The message header.

metadata: JSONObject

Metadata associated with the message.

parent_header: IHeader<KernelMessage.MessageType> | Record<string, never>

The parent message