Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/notebook
browser/service/notebook-execution-state-service
NotebookExecutionStateService
Class NotebookExecutionStateService
Implements
Disposable
Index
Constructors
constructor
Properties
executions
notebook
Service
on
Did
Change
Execution
on
Did
Change
Execution
Emitter
on
Did
Change
Last
Run
Fail
State
on
Did
Change
Last
Run
Fail
State
Emitter
to
Dispose
Methods
create
Notebook
Cell
Execution
dispose
get
Cell
Execution
get
Or
Create
Cell
Execution
on
Cell
Execution
Did
Complete
Constructors
constructor
new
NotebookExecutionStateService
()
:
NotebookExecutionStateService
Returns
NotebookExecutionStateService
Properties
Protected
Readonly
executions
executions
:
Map
<
string
,
Map
<
number
,
CellExecution
>
>
= ...
Protected
notebook
Service
notebookService
:
NotebookService
on
Did
Change
Execution
onDidChangeExecution
:
Event
<
CellExecutionStateChangedEvent
>
= ...
Protected
Readonly
on
Did
Change
Execution
Emitter
onDidChangeExecutionEmitter
:
Emitter
<
CellExecutionStateChangedEvent
>
= ...
on
Did
Change
Last
Run
Fail
State
onDidChangeLastRunFailState
:
Event
<
NotebookFailStateChangedEvent
>
= ...
Protected
Readonly
on
Did
Change
Last
Run
Fail
State
Emitter
onDidChangeLastRunFailStateEmitter
:
Emitter
<
NotebookFailStateChangedEvent
>
= ...
Protected
to
Dispose
toDispose
:
DisposableCollection
= ...
Methods
Protected
create
Notebook
Cell
Execution
createNotebookCellExecution
(
notebook
:
NotebookModel
,
cellHandle
:
number
,
)
:
CellExecution
Parameters
notebook
:
NotebookModel
cellHandle
:
number
Returns
CellExecution
dispose
dispose
()
:
void
Dispose this object.
Returns
void
get
Cell
Execution
getCellExecution
(
cellUri
:
URI
)
:
undefined
|
CellExecution
Parameters
cellUri
:
URI
Returns
undefined
|
CellExecution
get
Or
Create
Cell
Execution
getOrCreateCellExecution
(
notebookUri
:
URI
,
cellHandle
:
number
)
:
CellExecution
Parameters
notebookUri
:
URI
cellHandle
:
number
Returns
CellExecution
Protected
on
Cell
Execution
Did
Complete
onCellExecutionDidComplete
(
notebookUri
:
URI
,
cellHandle
:
number
,
exe
:
CellExecution
,
lastRunSuccess
?:
boolean
,
)
:
void
Parameters
notebookUri
:
URI
cellHandle
:
number
exe
:
CellExecution
Optional
lastRunSuccess
:
boolean
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
executions
notebook
Service
on
Did
Change
Execution
on
Did
Change
Execution
Emitter
on
Did
Change
Last
Run
Fail
State
on
Did
Change
Last
Run
Fail
State
Emitter
to
Dispose
Methods
create
Notebook
Cell
Execution
dispose
get
Cell
Execution
get
Or
Create
Cell
Execution
on
Cell
Execution
Did
Complete
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...
Dispose this object.