KernelAPIClient | @jupyterlab (original) (raw)

Implements

Index

Constructors

constructor

Properties

ReadonlyserverSettings

Methods

getModel

A promise that resolves with the kernel model.

Notes

Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise. If the kernel does not exist on the server, the promise is resolved with undefined.

interrupt

A promise that resolves when the kernel is interrupted.

Notes

Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.

listRunning

A promise that resolves with the list of running kernel models.

Notes

Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.

restart

A promise that resolves when the kernel is restarted.

Notes

Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.

shutdown

A promise that resolves when the kernel is shut down.

Notes

Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.

startNew

A promise that resolves with the kernel model.

Notes

Uses the Jupyter Server API and validates the response model.
The promise is fulfilled on a valid response and rejected otherwise.