onSuccess

abstract fun onSuccess(result: T)

Called when the task completes successfully.

Parameters

result

The result of the task.