- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
26 lines
677 B
Java
26 lines
677 B
Java
package com.mbridge.msdk.dycreator.bus;
|
|
|
|
/* loaded from: classes4.dex */
|
|
class AsyncPoster implements Runnable {
|
|
private final PendingPostQueue a = new PendingPostQueue();
|
|
private final EventBus b;
|
|
|
|
public AsyncPoster(EventBus eventBus) {
|
|
this.b = eventBus;
|
|
}
|
|
|
|
public void enqueue(Subscription subscription, Object obj) {
|
|
this.a.a(PendingPost.a(subscription, obj));
|
|
EventBus.a.execute(this);
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
PendingPost a = this.a.a();
|
|
if (a == null) {
|
|
throw new IllegalStateException("No pending post available");
|
|
}
|
|
this.b.a(a);
|
|
}
|
|
}
|