interface ResultHandler<T : Any>
A handler for an asynchronous operation which returns an object of type T.
Since
1.0-milestone-3
abstract fun onComplete(result: T): Unit
Handles successful completion of the operation. |
|
abstract fun onFailure(failure: GradleConnectionException): Unit
Handles a failed operation. This method is invoked once only for a given operation. |