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 classTask.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.CancelListenerto aTask.TaskListener.voidTask.setOnCancelled(@NonNull Task.CancelListener cancelListener) AddsaTask.TaskListenerthat is exclusively interested in the prematureforceful terminationof the action.