onLoadingSuspend

suspend fun <T> ApiResult<T>.onLoadingSuspend(function: suspend () -> Unit): ApiResult<T>