onFailed
fun Service<*>.onFailed(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(WorkerStateEvent) -> Unit)
See also
Service.setOnFailed
fun Task<*>.onFailed(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(WorkerStateEvent) -> Unit)
See also
Task.setOnFailed