- All Known Subinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface WorkerTaskEnded<I,P,R>The WorkerTask ended callback interface.
- Christopher Mindus
void onTaskEnded(WorkerTask<I,P,R> task)Called when the worker task has completed. To get the result, call task.getResult() or task.getException() depending on the task completion state. Note: this function is called also when a task is cancelled.
task- The task that has ended.