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

29 lines
926 B
Java

package kotlinx.coroutines;
import java.util.concurrent.Executor;
import kotlin.coroutines.EmptyCoroutineContext;
/* loaded from: classes5.dex */
public final class DispatcherExecutor implements Executor {
public final CoroutineDispatcher dispatcher;
public DispatcherExecutor(CoroutineDispatcher coroutineDispatcher) {
this.dispatcher = coroutineDispatcher;
}
@Override // java.util.concurrent.Executor
public void execute(Runnable runnable) {
CoroutineDispatcher coroutineDispatcher = this.dispatcher;
EmptyCoroutineContext emptyCoroutineContext = EmptyCoroutineContext.INSTANCE;
if (coroutineDispatcher.isDispatchNeeded(emptyCoroutineContext)) {
this.dispatcher.mo4148dispatch(emptyCoroutineContext, runnable);
} else {
runnable.run();
}
}
public String toString() {
return this.dispatcher.toString();
}
}