AxpResult

sealed class AxpResult<T>

Result type returned from operations that can succeed or fail.

Inheritors

Functions

Link copied to clipboard
abstract fun onSuccess(lambda: (T) -> Unit)

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