Files
rr3-apk/decompiled/sources/kotlinx/coroutines/Unconfined.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

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.");
}
}