Readonly
cellThe cell for which this execution has been created.
Set and unset the order of this cell execution.
Readonly
tokenA cancellation token which will be triggered when the cell execution is canceled from the UI.
Note that the cancellation token will not be triggered when the controller that created this execution uses an interrupt-handler.
Append to the output of the cell that is executing or to another cell that is affected by this execution.
Output that is appended to the current output.
Optional
cell: NotebookCellCell for which output is cleared. Defaults to the cell of this execution.
A thenable that resolves when the operation finished.
Append output items to existing cell output.
Output items that are append to existing output.
Output object that already exists.
A thenable that resolves when the operation finished.
Clears the output of the cell that is executing or of another cell that is affected by this execution.
Optional
cell: NotebookCellCell for which output is cleared. Defaults to the cell of this execution.
A thenable that resolves when the operation finished.
Signal that execution has ended.
If true, a green check is shown on the cell status bar. If false, a red X is shown. If undefined, no check or X icon is shown.
Optional
endTime: numberThe time that execution finished, in milliseconds in the Unix epoch.
Replace the output of the cell that is executing or of another cell that is affected by this execution.
Output that replaces the current output.
Optional
cell: NotebookCellCell for which output is cleared. Defaults to the cell of this execution.
A thenable that resolves when the operation finished.
Replace all output items of existing cell output.
Output items that replace the items of existing output.
Output object that already exists.
A thenable that resolves when the operation finished.
A NotebookCellExecution is how notebook controller modify a notebook cell as it is executing.
When a cell execution object is created, the cell enters the
Pending
state. Whenstart(...)
is called on the execution task, it enters theExecuting
state. Whenend(...)
is called, it enters theIdle
state.