discord-jadx/app/src/main/java/com/discord/utilities/search/network/SearchFetcher$makeQuery$1.java

26 lines
1.1 KiB
Java

package com.discord.utilities.search.network;
import com.discord.models.domain.ModelSearchResponse;
import d0.z.d.m;
import java.util.concurrent.atomic.AtomicLong;
import rx.functions.Action1;
/* compiled from: SearchFetcher.kt */
public final class SearchFetcher$makeQuery$1<T> implements Action1<ModelSearchResponse> {
public final /* synthetic */ AtomicLong $resubscribeDelayMillis;
public final /* synthetic */ SearchFetcher this$0;
public SearchFetcher$makeQuery$1(SearchFetcher searchFetcher, AtomicLong atomicLong) {
this.this$0 = searchFetcher;
this.$resubscribeDelayMillis = atomicLong;
}
public final void call(ModelSearchResponse modelSearchResponse) {
SearchFetcher searchFetcher = this.this$0;
m.checkNotNullExpressionValue(modelSearchResponse, "searchResponse");
if (SearchFetcher.access$isIndexing(searchFetcher, modelSearchResponse)) {
this.$resubscribeDelayMillis.set(modelSearchResponse.getRetryMillis());
SearchFetcher.access$getIndexingRetryCount$p(this.this$0).incrementAndGet();
}
}
}