F
- The data type of the callback“s response in case of successful outcome.public interface Continuation<F>
void onSuccess(F result) throws java.lang.Exception
result
- The result of the completed operationjava.lang.Exception
void onError(java.lang.Throwable cause) throws java.lang.Exception
cause
- The cause of the failurejava.lang.Exception