alexandroid/decompiled/jadx/sources/io/reactivex/rxjava3/internal/observers/BlockingFirstObserver.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

22 lines
674 B
Java

package io.reactivex.rxjava3.internal.observers;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes10.dex */
public final class BlockingFirstObserver<T> extends BlockingBaseObserver<T> {
@Override // io.reactivex.rxjava3.core.Observer
public void onError(Throwable th) {
if (this.value == null) {
this.error = th;
}
countDown();
}
@Override // io.reactivex.rxjava3.core.Observer
public void onNext(T t) {
if (this.value == null) {
this.value = t;
this.upstream.dispose();
countDown();
}
}
}