Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
common/plugin-api-rpc
NotebookKernelsExt
Interface NotebookKernelsExt
interface
NotebookKernelsExt
{
$acceptKernelMessageFromRenderer
(
handle
:
number
,
editorId
:
string
,
message
:
any
,
)
:
void
;
$acceptNotebookAssociation
(
handle
:
number
,
uri
:
UriComponents
,
value
:
boolean
,
)
:
void
;
$cancelCells
(
handle
:
number
,
uri
:
UriComponents
,
handles
:
number
[]
,
)
:
Promise
<
void
>
;
$cellExecutionChanged
(
uri
:
UriComponents
,
cellHandle
:
number
,
state
:
undefined
|
NotebookCellExecutionState
,
)
:
void
;
$executeCells
(
handle
:
number
,
uri
:
UriComponents
,
handles
:
number
[]
,
)
:
Promise
<
void
>
;
$provideKernelSourceActions
(
handle
:
number
,
token
:
CancellationToken
,
)
:
Promise
<
NotebookKernelSourceActionDto
[]
>
;
}
Implemented by
NotebookKernelsExtImpl
Index
Methods
$accept
Kernel
Message
From
Renderer
$accept
Notebook
Association
$cancel
Cells
$cell
Execution
Changed
$execute
Cells
$provide
Kernel
Source
Actions
Methods
$accept
Kernel
Message
From
Renderer
$acceptKernelMessageFromRenderer
(
handle
:
number
,
editorId
:
string
,
message
:
any
,
)
:
void
Parameters
handle
:
number
editorId
:
string
message
:
any
Returns
void
$accept
Notebook
Association
$acceptNotebookAssociation
(
handle
:
number
,
uri
:
UriComponents
,
value
:
boolean
,
)
:
void
Parameters
handle
:
number
uri
:
UriComponents
value
:
boolean
Returns
void
$cancel
Cells
$cancelCells
(
handle
:
number
,
uri
:
UriComponents
,
handles
:
number
[]
,
)
:
Promise
<
void
>
Parameters
handle
:
number
uri
:
UriComponents
handles
:
number
[]
Returns
Promise
<
void
>
$cell
Execution
Changed
$cellExecutionChanged
(
uri
:
UriComponents
,
cellHandle
:
number
,
state
:
undefined
|
NotebookCellExecutionState
,
)
:
void
Parameters
uri
:
UriComponents
cellHandle
:
number
state
:
undefined
|
NotebookCellExecutionState
Returns
void
$execute
Cells
$executeCells
(
handle
:
number
,
uri
:
UriComponents
,
handles
:
number
[]
,
)
:
Promise
<
void
>
Parameters
handle
:
number
uri
:
UriComponents
handles
:
number
[]
Returns
Promise
<
void
>
$provide
Kernel
Source
Actions
$provideKernelSourceActions
(
handle
:
number
,
token
:
CancellationToken
,
)
:
Promise
<
NotebookKernelSourceActionDto
[]
>
Parameters
handle
:
number
token
:
CancellationToken
Returns
Promise
<
NotebookKernelSourceActionDto
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
$accept
Kernel
Message
From
Renderer
$accept
Notebook
Association
$cancel
Cells
$cell
Execution
Changed
$execute
Cells
$provide
Kernel
Source
Actions
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...