Interface: IKernels#

kernel.IKernels

An interface for the Kernels service.

Methods#

restart#

restart(id): Promise<IModel>

Restart a kernel.

Parameters#

Name

Type

Description

id

string

The kernel id.

Returns#

Promise<IModel>

Defined in#

packages/kernel/lib/tokens.d.ts:30


shutdown#

shutdown(id): Promise<void>

Shut down a kernel.

Parameters#

Name

Type

Description

id

string

The kernel id.

Returns#

Promise<void>

Defined in#

packages/kernel/lib/tokens.d.ts:36


startNew#

startNew(options): Promise<IModel>

Start a new kernel.

Parameters#

Name

Type

Description

options

IKernelOptions

The kernel startup options.

Returns#

Promise<IModel>

Defined in#

packages/kernel/lib/tokens.d.ts:24