Package 

Interface FailureCallback


  • 
    public interface FailureCallback<E extends Throwable>
    
                        

    Convenience API to be notified when an asynchronous task failed.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onFailure(E cause) Called with an optional Throwable of type E when the task failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onFailure

         abstract Unit onFailure(E cause)

        Called with an optional Throwable of type E when the task failed.

        Parameters:
        cause - the optional Throwable that caused the failure