AbstractInterruptMonitor class

AbstractInterruptMonitor class

Monitor for interruption requests in all time-consuming operations.

The AbstractInterruptMonitor type exposes the following members:

Properties

PropertyDescription
is_interruption_requestedIndicates whether interruption is requested for current operation.
If true then current operation will be interrupted.
Implementation should perform fast and efficient check here, otherwise it may become another bottleneck for the procedure.
terminate_without_exceptionWhen procedure is interrupted, whether terminate the procedure quietly or throw an Exception.
Default is false, that is, when AbstractInterruptMonitor.is_interruption_requested is true,
a CellsException with code ExceptionType.INTERRUPTED will be thrown.

See Also