Loading

data object Loading : ApiResult<Nothing>

Properties

Link copied to clipboard
Link copied to clipboard
val <T> ApiResult<T>.getAsApiResponseBody: ResponseBody?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T> ApiResult<T>.onApiError(function: (errorBody: ResponseBody?, responseCode: Int) -> Unit): ApiResult<T>
Link copied to clipboard
inline fun <T> ApiResult<T>.onApiErrorOrError(function: () -> Unit): ApiResult<T>
Link copied to clipboard
suspend fun <T> ApiResult<T>.onApiErrorSuspend(function: suspend (errorBody: ResponseBody?, responseCode: Int) -> Unit): ApiResult<T>
Link copied to clipboard
inline fun <T> ApiResult<T>.onError(function: (throwable: Throwable) -> Unit): ApiResult<T>
Link copied to clipboard
suspend fun <T> ApiResult<T>.onErrorSuspend(function: suspend (throwable: Throwable) -> Unit): ApiResult<T>
Link copied to clipboard
inline fun <T> ApiResult<T>.onIdle(function: () -> Unit): ApiResult<T>
Link copied to clipboard
suspend fun <T> ApiResult<T>.onIdleSuspend(function: suspend () -> Unit): ApiResult<T>
Link copied to clipboard
inline fun <T> ApiResult<T>.onLoading(function: () -> Unit): ApiResult<T>
Link copied to clipboard
suspend fun <T> ApiResult<T>.onLoadingSuspend(function: suspend () -> Unit): ApiResult<T>
Link copied to clipboard
inline fun <T> ApiResult<T>.onSuccess(function: (model: T) -> Unit): ApiResult<T>
Link copied to clipboard
suspend fun <T> ApiResult<T>.onSuccessSuspend(function: suspend (model: T) -> Unit): ApiResult<T>
Link copied to clipboard
Link copied to clipboard