interrupt property

InterruptCallback? interrupt
getter/setter pair

A callback to check if execution should continue. Consumers should set this to a function that throws an exception if execution should stop.

Implementation

InterruptCallback? interrupt;