NotebookCellExecution class

A NotebookCellExecution is how {@link NotebookControllernotebook controller} modify a notebook cell as it is executing.

When a cell execution object is created, the cell enters the {@linkcode NotebookCellExecutionState.Pending Pending} state. When {@linkcode NotebookCellExecution.startstart(...)} is called on the execution task, it enters the {@linkcode NotebookCellExecutionState.Executing Executing} state. When {@linkcode NotebookCellExecution.endend(...)} is called, it enters the {@linkcode NotebookCellExecutionState.Idle Idle} state.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

NotebookCellExecution({NotebookCell? cell, CancellationToken? token, num? executionOrder, void start([num?])?, void end([bool?, num?])?, Future clearOutput([NotebookCell?])?, Future replaceOutput(Object, [NotebookCell?])?, Future appendOutput(Object, [NotebookCell?])?, Future replaceOutputItems(Object, NotebookCellOutput)?, Future appendOutputItems(Object, NotebookCellOutput)?})
factory

Properties

appendOutput Future Function(Object, [NotebookCell?])

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
appendOutputItems Future Function(Object, NotebookCellOutput)

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
cell NotebookCell

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

The {@link NotebookCellcell} for which this execution has been created.
no setter
clearOutput Future Function([NotebookCell?])

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
end ↔ void Function([bool?, num?])

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
executionOrder num?

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

Set and unset the order of this cell execution.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
replaceOutput Future Function(Object, [NotebookCell?])

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
replaceOutputItems Future Function(Object, NotebookCellOutput)

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start ↔ void Function([num?])

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

getter/setter pair
token CancellationToken

Available on NotebookCellExecution, provided by the NotebookCellExecution$Typings extension

A cancellation token which will be triggered when the cell execution is canceled from the UI.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited