onSuccess

open override fun onSuccess(lambda: (T) -> Unit)

If the result is a success, execute the lambda with the returned value.