Interface: IKernels

kernel.IKernels

An interface for the Kernels service.

Properties

restart

restart: (id: string) => Promise<IModel>

Restart a kernel.

param The kernel id.

Type declaration

▸ (id): Promise<IModel>

Parameters

Name

Type

id

string

Returns

Promise<IModel>

Defined in

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


shutdown

shutdown: (id: string) => Promise<void>

Shut down a kernel.

param The kernel id.

Type declaration

▸ (id): Promise<void>

Parameters

Name

Type

id

string

Returns

Promise<void>

Defined in

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


startNew

startNew: (options: IKernelOptions) => Promise<IModel>

Start a new kernel.

param The kernel startup options.

Type declaration

▸ (options): Promise<IModel>

Parameters

Name

Type

options

IKernelOptions

Returns

Promise<IModel>

Defined in

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