Interface: IWorkerKernel
#
@jupyterlite/kernel.IWorkerKernel
An interface for a comlink-based worker kernel
Methods#
commClose
#
commClose
(content
,parent
):Promise
<void
>
Parameters#
Name |
Type |
---|---|
|
|
|
|
Returns#
Promise
<void
>
Defined in#
commInfo
#
commInfo
(content
,parent
):Promise
<ReplyContent
<ICommInfoReply
>>
Parameters#
Name |
Type |
Description |
---|---|---|
|
|
- |
|
|
The comm target name to filter returned comms |
|
|
- |
Returns#
Promise
<ReplyContent
<ICommInfoReply
>>
Defined in#
commMsg
#
commMsg
(content
,parent
):Promise
<void
>
Parameters#
Name |
Type |
---|---|
|
|
|
|
Returns#
Promise
<void
>
Defined in#
commOpen
#
commOpen
(content
,parent
):Promise
<void
>
Parameters#
Name |
Type |
---|---|
|
|
|
|
Returns#
Promise
<void
>
Defined in#
complete
#
complete
(content
,parent
):Promise
<ReplyContent
<ICompleteReply
>>
Parameters#
Name |
Type |
---|---|
|
|
|
|
|
|
|
|
Returns#
Promise
<ReplyContent
<ICompleteReply
>>
Defined in#
execute
#
execute
(content
,parent
):Promise
<Object
>
Parameters#
Name |
Type |
Description |
---|---|---|
|
|
- |
|
|
Whether to allow stdin requests. The default is |
|
|
The code to execute. |
|
|
Whether to execute the code as quietly as possible. The default is |
|
|
Whether to the abort execution queue on an error. The default is |
|
|
Whether to store history of the execution. The default |
|
|
A mapping of names to expressions to be evaluated in the kernel’s interactive namespace. |
|
|
- |
Returns#
Promise
<Object
>
Defined in#
initialize
#
initialize
(options
):Promise
<void
>
Handle any lazy setup activities.
Parameters#
Name |
Type |
---|---|
|
Returns#
Promise
<void
>
Defined in#
inputReply
#
inputReply
(content
,parent
):Promise
<void
>
Parameters#
Name |
Type |
---|---|
|
|
|
|
Returns#
Promise
<void
>
Defined in#
inspect
#
inspect
(content
,parent
):Promise
<ReplyContent
<IInspectReply
>>
Parameters#
Name |
Type |
---|---|
|
|
|
|
|
|
|
|
|
|
Returns#
Promise
<ReplyContent
<IInspectReply
>>
Defined in#
isComplete
#
isComplete
(content
,parent
):Promise
<ReplyContent
<IIsCompleteReplyIncomplete
|IIsCompleteReplyOther
>>
Parameters#
Name |
Type |
---|---|
|
|
|
|
|
|
Returns#
Promise
<ReplyContent
<IIsCompleteReplyIncomplete
| IIsCompleteReplyOther
>>