Files
rr3-apk/decompiled-community/sources/kotlinx/coroutines/Unconfined.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

35 lines
1.4 KiB
Java

package kotlinx.coroutines;
import kotlin.coroutines.CoroutineContext;
/* loaded from: classes5.dex */
public final class Unconfined extends CoroutineDispatcher {
public static final Unconfined INSTANCE = new Unconfined();
@Override // kotlinx.coroutines.CoroutineDispatcher
public boolean isDispatchNeeded(CoroutineContext coroutineContext) {
return false;
}
@Override // kotlinx.coroutines.CoroutineDispatcher
public String toString() {
return "Dispatchers.Unconfined";
}
@Override // kotlinx.coroutines.CoroutineDispatcher
public CoroutineDispatcher limitedParallelism(int i) {
throw new UnsupportedOperationException("limitedParallelism is not supported for Dispatchers.Unconfined");
}
@Override // kotlinx.coroutines.CoroutineDispatcher
/* renamed from: dispatch */
public void mo4148dispatch(CoroutineContext coroutineContext, Runnable runnable) {
YieldContext yieldContext = (YieldContext) coroutineContext.get(YieldContext.Key);
if (yieldContext != null) {
yieldContext.dispatcherWasUnconfined = true;
return;
}
throw new UnsupportedOperationException("Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls.");
}
}