mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 09:57:16 +01:00
29 lines
820 B
Java
29 lines
820 B
Java
package com.google.firebase.concurrent;
|
|
|
|
import java.util.concurrent.Executor;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes8.dex */
|
|
public class FirebaseExecutors {
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
public enum DirectExecutor implements Executor {
|
|
INSTANCE;
|
|
|
|
@Override // java.util.concurrent.Executor
|
|
public void execute(Runnable runnable) {
|
|
runnable.run();
|
|
}
|
|
}
|
|
|
|
private FirebaseExecutors() {
|
|
}
|
|
|
|
public static Executor directExecutor() {
|
|
return DirectExecutor.INSTANCE;
|
|
}
|
|
|
|
public static Executor newSequentialExecutor(Executor executor) {
|
|
return new SequentialExecutor(executor);
|
|
}
|
|
}
|