Interface: IKernel#
@jupyterlite/kernel.IKernel
An interface for a kernel running in the browser.
Hierarchy#
IObservableDisposable↳
IKernel
Implemented by#
Properties#
disposed#
Readonlydisposed:ISignal<IKernel,void>
A signal emitted when the object is disposed.
Inherited from#
IObservableDisposable.disposed
Defined in#
node_modules/@lumino/disposable/types/index.d.ts:34
id#
Readonlyid:string
The id of the server-side kernel.
Defined in#
isDisposed#
ReadonlyisDisposed:boolean
Test whether the object has been disposed.
Notes#
This property is always safe to access.
Inherited from#
IObservableDisposable.isDisposed
Defined in#
node_modules/@lumino/disposable/types/index.d.ts:13
location#
Readonlylocation:string
The location in the virtual filesystem from which the kernel was started.
Defined in#
name#
Readonlyname:string
The name of the server-side kernel.
Defined in#
ready#
Readonlyready:Promise<void>
A promise that is fulfilled when the kernel is ready.
Defined in#
Methods#
dispose#
dispose():void
Dispose of the resources held by the object.
Notes#
If the object’s dispose method is called more than once, all calls made after the
first will be a no-op.
Undefined Behavior#
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
Returns#
void
Inherited from#
IObservableDisposable.dispose
Defined in#
node_modules/@lumino/disposable/types/index.d.ts:25
handleMessage#
handleMessage(msg):Promise<void>
Handle an incoming message from the client.
Parameters#
Name |
Type |
Description |
|---|---|---|
|
|
The message to handle |
Returns#
Promise<void>