Uses of Interface
page.codeberg.friedolyn.util.Task.CancelListener
Packages that use Task.CancelListener
-
Uses of Task.CancelListener in page.codeberg.friedolyn.util
Classes in page.codeberg.friedolyn.util that implement Task.CancelListenerModifier and TypeClassDescriptionstatic class
Task.TaskListener<ResultType>
A subscriber that is interested in status updates of the action's progress.Methods in page.codeberg.friedolyn.util with parameters of type Task.CancelListenerModifier and TypeMethodDescriptionstatic <ResultType>
@NonNull Task.TaskListener<ResultType> Task.TaskListener.from
(@NonNull Task.CancelListener cancelListener) Converts aTask.CancelListener
to aTask.TaskListener
.void
Task.setOnCancelled
(@NonNull Task.CancelListener cancelListener) Adds
aTask.TaskListener
that is exclusively interested in the prematureforceful termination
of the action.