executeHandler property

FutureOr<void> Function(List<NotebookCell>, NotebookDocument, NotebookController) get executeHandler

The execute handler is invoked when the run gestures in the UI are selected, e.g Run Cell, Run All, Run Selection etc. The execute handler is responsible for creating and managing {@link NotebookCellExecution execution}-objects.

Implementation

_i4.FutureOr<void> Function(
  _i2.List<_i3.NotebookCell>,
  _i3.NotebookDocument,
  _i3.NotebookController,
) get executeHandler => (
      _i2.List<_i3.NotebookCell> p0,
      _i3.NotebookDocument p1,
      _i3.NotebookController p2,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'executeHandler',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
          ],
        );
set executeHandler (FutureOr<void> value(List<NotebookCell>, NotebookDocument, NotebookController))

Implementation

set executeHandler(
    _i4.FutureOr<void> Function(
      _i2.List<_i3.NotebookCell>,
      _i3.NotebookDocument,
      _i3.NotebookController,
    ) value) {
  _i5.setProperty(
    this,
    'executeHandler',
    _i5.allowInterop((
      p0,
      p1,
      p2,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
              p2,
            ))),
  );
}