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
#
get
defaultKernelName
():string
Get the default kernel name.
Returns#
string
Implementation of#
IKernelSpecs.defaultKernelName
Defined in#
factories
#
get
factories
():KernelFactories
Get the kernel factories for the current kernels.
Returns#
Implementation of#
IKernelSpecs.factories
Defined in#
specs
#
get
specs
():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