mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 01:47:17 +01:00
39 lines
2.1 KiB
Java
39 lines
2.1 KiB
Java
package com.mapbox.common;
|
|
|
|
import java.util.concurrent.Executor;
|
|
import kotlin.Metadata;
|
|
import kotlin.coroutines.CoroutineContext;
|
|
import kotlinx.coroutines.ExecutorCoroutineDispatcher;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
@Metadata(d1 = {"\u0000&\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u00020\u0001B\r\u0012\u0006\u0010\u0002\u001a\u00020\u0003¢\u0006\u0002\u0010\u0004J\b\u0010\u0007\u001a\u00020\bH\u0016J\u0018\u0010\t\u001a\u00020\b2\u0006\u0010\n\u001a\u00020\u000b2\u0006\u0010\f\u001a\u00020\rH\u0016R\u0014\u0010\u0002\u001a\u00020\u0003X\u0096\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u000e"}, d2 = {"Lcom/mapbox/common/SchedulerExecutorDispatcher;", "Lkotlinx/coroutines/ExecutorCoroutineDispatcher;", "executor", "Ljava/util/concurrent/Executor;", "(Ljava/util/concurrent/Executor;)V", "getExecutor", "()Ljava/util/concurrent/Executor;", "close", "", "dispatch", "context", "Lkotlin/coroutines/CoroutineContext;", "block", "Ljava/lang/Runnable;", "common_release"}, k = 1, mv = {1, 7, 1}, xi = 48)
|
|
/* loaded from: classes8.dex */
|
|
public final class SchedulerExecutorDispatcher extends ExecutorCoroutineDispatcher {
|
|
|
|
@NotNull
|
|
private final Executor executor;
|
|
|
|
public SchedulerExecutorDispatcher(@NotNull Executor executor) {
|
|
executor.getClass();
|
|
this.executor = executor;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.CoroutineDispatcher
|
|
/* renamed from: dispatch */
|
|
public void mo26869dispatch(@NotNull CoroutineContext context, @NotNull Runnable block) {
|
|
context.getClass();
|
|
block.getClass();
|
|
getExecutor().execute(block);
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.ExecutorCoroutineDispatcher
|
|
@NotNull
|
|
public Executor getExecutor() {
|
|
return this.executor;
|
|
}
|
|
|
|
@Override // kotlinx.coroutines.ExecutorCoroutineDispatcher, java.io.Closeable, java.lang.AutoCloseable
|
|
public void close() {
|
|
}
|
|
}
|