Package page.codeberg.friedolyn.util
Interface Task.CancelListener
- All Known Implementing Classes:
Task.TaskListener
- Enclosing class:
Task<ResultType>
public static interface Task.CancelListener
A subscriber exclusively interested in the
cancellation
of the action, but in no other
information.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called when the action is finished prematurely by outside intervention, before it could complete.
-
Method Details
-
onCancelled
void onCancelled()Called when the action is finished prematurely by outside intervention, before it could complete.
-