onComplete

abstract fun onComplete(result: Result<T>)

A callback to be executed when a operation is completed.

Parameters

result

result of the operation.