Test whether the kernel is ready.
A Thenable that is fulfilled when the kernel is ready.
Gets the full specification for this kernel, which can be serialized to a notebook file
Interrupt a kernel.
Uses the Jupyter Notebook API.
The promise is fulfilled on a valid response and rejected otherwise.
It is assumed that the API call does not mutate the kernel id or name.
The promise will be rejected if the kernel status is Dead
or if the
request fails or the response is invalid.
Send a complete_request
message.
The content of the request.
A Thenable that resolves with the response message.
See Messaging in Jupyter.
Fulfills with the complete_reply
content when the shell reply is
received and validated.
Send an execute_request
message.
The content of the request.
Whether to dispose of the future when done.
A kernel future.
See Messaging in Jupyter.
This method returns a kernel future, rather than a Thenable, since execution may have many response messages (for example, many iopub display messages).
Future onReply
is called with the execute_reply
content when the
shell reply is received and validated.
See also: IExecuteReply
Generated using TypeDoc
The cached kernel info.
Notes
This value will be null until the kernel is ready.