discord-jadx/app/src/main/java/com/discord/stores/StoreStream$dispatchSubscri...

44 lines
1.7 KiB
Java

package com.discord.stores;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.functions.Function1;
/* compiled from: StoreStream.kt */
public final class StoreStream$dispatchSubscribe$1 extends o implements Function1<T, Unit> {
public final /* synthetic */ Function1 $onNext;
public final /* synthetic */ StoreStream this$0;
/* compiled from: StoreStream.kt */
/* renamed from: com.discord.stores.StoreStream$dispatchSubscribe$1$1 reason: invalid class name */
public static final class AnonymousClass1 extends o implements Function0<Unit> {
public final /* synthetic */ Object $emission;
public final /* synthetic */ StoreStream$dispatchSubscribe$1 this$0;
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public AnonymousClass1(StoreStream$dispatchSubscribe$1 storeStream$dispatchSubscribe$1, Object obj) {
super(0);
this.this$0 = storeStream$dispatchSubscribe$1;
this.$emission = obj;
}
@Override // kotlin.jvm.functions.Function0
/* renamed from: invoke */
public final void mo1invoke() {
this.this$0.$onNext.invoke(this.$emission);
}
}
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
public StoreStream$dispatchSubscribe$1(StoreStream storeStream, Function1 function1) {
super(1);
this.this$0 = storeStream;
this.$onNext = function1;
}
@Override // kotlin.jvm.functions.Function1
public final void invoke(T t) {
StoreStream.access$getDispatcher$p(this.this$0).schedule(new AnonymousClass1(this, t));
}
}