token property

CancellationToken get token

A 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 {@link NotebookControllercontroller} that created this execution uses an {@link NotebookController.interruptHandlerinterrupt-handler}.

Implementation

_i3.CancellationToken get token => _i5.getProperty(
      this,
      'token',
    );