Package page.codeberg.friedolyn.util
Interface Task.SuccessListener<ResultType>
- Type Parameters:
ResultType
- The class of the result that the action executed produces.
- All Known Implementing Classes:
Task.TaskListener
- Enclosing class:
Task<ResultType>
public static interface Task.SuccessListener<ResultType>
A subscriber exclusively interested in the
success and the result
of the action, but
in no other information.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSucceeded
(ResultType result) Called when the action has finished executing as expected.
-
Method Details
-
onSucceeded
Called when the action has finished executing as expected.- Parameters:
result
- The end product generated by the action.
-