Construct a new session manager.
The default options for each session.
The server settings of the manager.
A signal emitted when there is a connection failure.
Test whether the manager is disposed.
Test whether the manager is ready.
A promise that fulfills when the manager is ready.
A signal emitted when the running sessions change.
Get the most recently fetched kernel specs.
A signal emitted when the kernel specs change.
Handle a change to a session.
Handle a session starting.
Handle a session terminating.
Dispose of the resources used by the manager.
Find a session by id.
Find a session by path.
Force a refresh of the running sessions.
A promise that with the list of running sessions.
This is not typically meant to be called by the user, since the manager maintains its own internal state.
Force a refresh of the specs from the server.
A promise that resolves when the specs are fetched.
This is intended to be called only in response to a user action, since the manager maintains its internal state.
Execute a request to the server to poll running kernels and update state.
Execute a request to the server to poll specs and update state.
Create an iterator over the most recent running sessions.
A new iterator over the running sessions.
Shut down a session by id.
Shut down all sessions.
A promise that resolves when all of the kernels are shut down.
Find a session associated with a path and stop it if it is the only session using that kernel.
The path in question.
A promise that resolves when the relevant sessions are stopped.
Generated using TypeDoc
An implementation of a session manager. The namespace for
SessionManager
class statics.