Optional
activeThe request that is currently active in the queue.
Optional
activeThe object whose request is currently being processed.
Whether the session is currently changing language.
The current status of the kernel.
A signal emitted when the kernel status changes.
The language of the session.
The current status of the server.
A signal emitted when the session status changes.
Optional
startupCode to run every time a kernel is (re)started.
Request that the session change the language it is executing in.
the request to queue
Optional
requester?: IRequesterOptional
type?: changeLanguagea promise that resolves with the new kernel
Clear the kernel state.
Optional
request?: voidOptional
requester?: IRequesterOptional
type?: clearStateExecute a request on a kernel and return an IOutputAdapterFuture
.
the request to execute
Optional
allow_Whether to allow stdin requests.
The default is true
.
The code to execute.
Optional
silent?: booleanWhether to execute the code as quietly as possible.
The default is false
.
Optional
stop_Whether to the abort execution queue on an error.
The default is false
.
Optional
store_Whether to store history of the execution.
The default true
if silent is False.
It is forced to false
if silent is true
.
Optional
user_A mapping of names to expressions to be evaluated in the kernel's interactive namespace.
Optional
requester?: IRequesterOptional
type?: executea delegate to resolve the promise made to the requester
an IOutputAdapterFuture
that can be used to react to output messages
Join the queue to execute a request.
The queue is a list of execution requests as well as kernel language changes. The queue will accept requests from up to two cells at a time: the current cell and the next cell. If a third cell joins the queue, any requests from the second cell will be dropped. The queue will otherwise execute requests in order.
the request to execute
a promise that resolves when the request is complete, or rejects if the kernel dies, the connection is lost, or the request is dropped from the queue.
Generated using TypeDoc
A session manager for handling kernels and code execution.