Class: KernelSpecs#
@jupyterlite/kernel.KernelSpecs
A class to handle requests to /api/kernelspecs
Implements#
Constructors#
constructor#
new KernelSpecs()
Properties#
_factories#
Private_factories:Map<string,KernelFactory>
Defined in#
_specs#
Private_specs:Map<string,ISpecModel>
Defined in#
Accessors#
defaultKernelName#
getdefaultKernelName():string
Get the default kernel name.
Returns#
string
Implementation of#
IKernelSpecs.defaultKernelName
Defined in#
factories#
getfactories():KernelFactories
Get the kernel factories for the current kernels.
Returns#
Implementation of#
IKernelSpecs.factories
Defined in#
specs#
getspecs():null|ISpecModels
Get the kernel specs.
Returns#
null | ISpecModels
Implementation of#
IKernelSpecs.specs
Defined in#
Methods#
register#
register(options):void
Register a new kernel.
Parameters#
Name |
Type |
Description |
|---|---|---|
|
The options to register a new kernel. |
Returns#
void
Implementation of#
IKernelSpecs.register