onFailureUI

Experimental callback to avoid adding switch threads logic, Also allow a chance to perform UI and background jobs after a task is done without dealing with multithreading

callApi().onFailure {
// do background logic , call another api
}.onFailureUI {
// do UI logic , update TextViews ..etc
}