Uses of Interface
page.codeberg.friedolyn.util.Task.FailureListener
Packages that use Task.FailureListener
-
Uses of Task.FailureListener in page.codeberg.friedolyn.util
Classes in page.codeberg.friedolyn.util that implement Task.FailureListenerModifier 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.FailureListenerModifier and TypeMethodDescriptionstatic <ResultType>
@NonNull Task.TaskListener<ResultType> Task.TaskListener.from(@NonNull Task.FailureListener<ResultType> failureListener) Converts aTask.FailureListenerto aTask.TaskListener.voidTask.setOnFailed(@NonNull Task.FailureListener<ResultType> failureListener) AddsaTask.TaskListenerthat is exclusively interested in the failure and the possible result of the action.