- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
80 lines
2.7 KiB
Java
80 lines
2.7 KiB
Java
package kotlinx.coroutines;
|
|
|
|
import java.util.concurrent.CancellationException;
|
|
import kotlin.coroutines.Continuation;
|
|
import kotlin.coroutines.CoroutineContext;
|
|
import kotlin.jvm.functions.Function1;
|
|
import kotlin.jvm.functions.Function2;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public interface Job extends CoroutineContext.Element {
|
|
public static final Key Key = Key.$$INSTANCE;
|
|
|
|
public static final class Key implements CoroutineContext.Key {
|
|
public static final /* synthetic */ Key $$INSTANCE = new Key();
|
|
}
|
|
|
|
ChildHandle attachChild(ChildJob childJob);
|
|
|
|
void cancel(CancellationException cancellationException);
|
|
|
|
CancellationException getCancellationException();
|
|
|
|
Job getParent();
|
|
|
|
DisposableHandle invokeOnCompletion(Function1 function1);
|
|
|
|
DisposableHandle invokeOnCompletion(boolean z, boolean z2, Function1 function1);
|
|
|
|
boolean isActive();
|
|
|
|
boolean isCancelled();
|
|
|
|
boolean isCompleted();
|
|
|
|
Object join(Continuation continuation);
|
|
|
|
boolean start();
|
|
|
|
public static final class DefaultImpls {
|
|
public static Object fold(Job job, Object obj, Function2 function2) {
|
|
return CoroutineContext.Element.DefaultImpls.fold(job, obj, function2);
|
|
}
|
|
|
|
public static CoroutineContext.Element get(Job job, CoroutineContext.Key key) {
|
|
return CoroutineContext.Element.DefaultImpls.get(job, key);
|
|
}
|
|
|
|
public static CoroutineContext minusKey(Job job, CoroutineContext.Key key) {
|
|
return CoroutineContext.Element.DefaultImpls.minusKey(job, key);
|
|
}
|
|
|
|
public static CoroutineContext plus(Job job, CoroutineContext coroutineContext) {
|
|
return CoroutineContext.Element.DefaultImpls.plus(job, coroutineContext);
|
|
}
|
|
|
|
public static /* synthetic */ void cancel$default(Job job, CancellationException cancellationException, int i, Object obj) {
|
|
if (obj != null) {
|
|
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: cancel");
|
|
}
|
|
if ((i & 1) != 0) {
|
|
cancellationException = null;
|
|
}
|
|
job.cancel(cancellationException);
|
|
}
|
|
|
|
public static /* synthetic */ DisposableHandle invokeOnCompletion$default(Job job, boolean z, boolean z2, Function1 function1, int i, Object obj) {
|
|
if (obj != null) {
|
|
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: invokeOnCompletion");
|
|
}
|
|
if ((i & 1) != 0) {
|
|
z = false;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
z2 = true;
|
|
}
|
|
return job.invokeOnCompletion(z, z2, function1);
|
|
}
|
|
}
|
|
}
|