onCancel abstract method

Future<void> onCancel()

abstract method that is called at the start of cancel() to give the implementing class a chance to perform some cleanup

Implementation

Future<void> onCancel();