A signal emitted when there is a connection failure.
Test whether the object has been disposed.
This property is always safe to access.
Test whether the manager is ready.
A promise that is fulfilled when the manager is ready.
A signal emitted when the running sessions change.
The server settings for the manager.
The cached kernel specs.
This value will be null until the manager is ready.
A signal emitted when the kernel specs change.
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 session by id.
The id of the target session.
A promise that resolves with the session's model.
Find a session by path.
The path of the target session.
A promise that resolves with the session's model.
Force a refresh of the running sessions.
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.
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.
Create an iterator over the known running sessions.
A new iterator over the running sessions.
Shut down a session by id.
The id of the target kernel.
A promise that resolves when the operation is complete.
Shut down all sessions.
A promise that resolves when all of the sessions are shut down.
Find a session associated with a path and stop 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
Object which manages session instances.
Notes
The manager is responsible for maintaining the state of running sessions and the initial fetch of kernel specs.