A signal emitted when there is a server API connection failure.
A signal emitted when the object is disposed.
Whether the manager is ready.
A promise that resolves when the manager is initially ready.
A signal emitted when the running kernels change.
The server settings for the manager.
Connect to an existing kernel.
A promise that resolves with the new kernel instance.
Dispose of the resources held by the object.
If the object's dispose
method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Find a kernel by id.
The id of the target kernel.
A promise that resolves with the kernel's model, or undefined if not found.
Force a refresh of the running kernels.
A promise that resolves when the models are refreshed.
This is intended to be called only in response to a user action, since the manager maintains its internal state.
Create an iterator over the known running kernels.
A new iterator over the running kernels.
Shut down a kernel by id.
The id of the target kernel.
A promise that resolves when the operation is complete.
Shut down all kernels.
A promise that resolves when all of the kernels are shut down.
Start a new kernel.
The kernel creation options
The kernel connection options
A promise that resolves with the kernel connection.
The manager serverSettings
will be always be used.
Generated using TypeDoc
Object which manages kernel instances for a given base url.
Notes
The manager is responsible for maintaining the state of running kernels through polling the server. Use a manager if you want to be notified of changes to kernels.