gradle
8.3

# ResultHandler

interface ResultHandler<T>

A handler for an asynchronous operation which returns an object of type T.

#### Parameters

<T>

The result type.

## Functions

onComplete
Link copied to clipboard
abstract fun onComplete(result: T)
Handles successful completion of the operation.
onFailure
Link copied to clipboard
abstract fun onFailure(failure: GradleConnectionException)
Handles a failed operation.