onSuccess

abstract fun onSuccess(result: T)

Called when an API call is successful

Parameters

result

The result of the API call