Interface: IKernels
#
@jupyterlite/kernel.IKernels
An interface for the Kernels service.
Properties#
restart
#
restart
: (id
:string
) =>Promise
<IModel
>
Type declaration#
(
id
):Promise
<IModel
>
Restart a kernel.
Parameters#
Name |
Type |
Description |
---|---|---|
|
|
The kernel id. |
Returns#
Promise
<IModel
>
Defined in#
shutdown
#
shutdown
: (id
:string
) =>Promise
<void
>
Type declaration#
(
id
):Promise
<void
>
Shut down a kernel.
Parameters#
Name |
Type |
Description |
---|---|---|
|
|
The kernel id. |
Returns#
Promise
<void
>
Defined in#
startNew
#
startNew
: (options
:IKernelOptions
) =>Promise
<IModel
>
Type declaration#
(
options
):Promise
<IModel
>
Start a new kernel.
Parameters#
Name |
Type |
Description |
---|---|---|
|
The kernel startup options. |
Returns#
Promise
<IModel
>