Interface Callback<T>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  Callback.Map<T,​U>  
    • Method Detail

      • onSuccess

        void onSuccess​(T result)
        Called when the associated operation completes successfully,
      • onError

        void onError​(ErrorInfo reason)
        Called when the associated operation completes with an error.
        Parameters:
        reason - information about the error.