Protected
constructorProtected
_kernelProtected
_kernelProtected
_languageProtected
_serverProtected
_serverOptional
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 session context.
Protected
isProtected
kernelProtected
queueProtected
Optional
readyOptional
serverThe settings for the server connection.
Protected
serviceProtected
sessionProtected
specsOptional
startupCode to run every time a kernel is (re)started.
Static
Private
_instanceThe current status of the kernel.
The current status of the kernel.
A signal emitted when the kernel status changes.
The language of the session.
The language of the session.
The current status of the server.
The current status of the server.
A signal emitted when the session status changes.
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
Protected
clearClear 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
Protected
executeJoin 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.
Protected
makeResolve the kernel specs for a given language.
the language to get the kernel name for
the kernel name
Protected
makeComplete and validate a partial configuration object for a Jupyter server connection.
a complete configuration object
Protected
makeMake a session context.
the configuration for this session context
a session context
Protected
runOptional
readyDelegate: PromiseDelegate<void>Optional
requester: IRequesterStatic
getGenerated using TypeDoc
A Jupyter server session.