TaskFailureListener¶
TaskFailureListener is an extension of the EventListener (Java) abstraction for task listeners that can be notified on task failure.
Contract¶
onTaskFailure¶
onTaskFailure(
context: TaskContext,
error: Throwable): Unit
Used when:
TaskContextImplis requested to addTaskFailureListener (and a task has already failed) and markTaskFailed