- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
34 lines
892 B
Java
34 lines
892 B
Java
package kotlinx.coroutines;
|
|
|
|
import kotlin.Unit;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class ChildHandleNode extends JobCancellingNode implements ChildHandle {
|
|
public final ChildJob childJob;
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
public /* bridge */ /* synthetic */ Object invoke(Object obj) {
|
|
invoke((Throwable) obj);
|
|
return Unit.INSTANCE;
|
|
}
|
|
|
|
public ChildHandleNode(ChildJob childJob) {
|
|
this.childJob = childJob;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.ChildHandle
|
|
public Job getParent() {
|
|
return getJob();
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.CompletionHandlerBase
|
|
public void invoke(Throwable th) {
|
|
this.childJob.parentCancelled(getJob());
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.ChildHandle
|
|
public boolean childCancelled(Throwable th) {
|
|
return getJob().childCancelled(th);
|
|
}
|
|
}
|