Files
rr3-apk/decompiled/sources/kotlinx/coroutines/CancelFutureOnCancel.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

31 lines
761 B
Java

package kotlinx.coroutines;
import java.util.concurrent.Future;
import kotlin.Unit;
/* loaded from: classes5.dex */
public final class CancelFutureOnCancel extends CancelHandler {
public final Future future;
public CancelFutureOnCancel(Future future) {
this.future = future;
}
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Object invoke(Object obj) {
invoke((Throwable) obj);
return Unit.INSTANCE;
}
@Override // kotlinx.coroutines.CancelHandlerBase
public void invoke(Throwable th) {
if (th != null) {
this.future.cancel(false);
}
}
public String toString() {
return "CancelFutureOnCancel[" + this.future + ']';
}
}