2021-08-09 22:50:52 +00:00
|
|
|
package com.discord.stores;
|
|
|
|
|
2021-10-18 07:12:10 +00:00
|
|
|
import c0.z.d.m;
|
|
|
|
import c0.z.d.o;
|
2021-08-09 22:50:52 +00:00
|
|
|
import java.util.Iterator;
|
|
|
|
import java.util.List;
|
|
|
|
import kotlin.Unit;
|
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
/* compiled from: StoreStream.kt */
|
|
|
|
public final class StoreStream$dispatchSubscribe$2 extends o implements Function1<List<? extends T>, Unit> {
|
|
|
|
public final /* synthetic */ Function1 $onNext;
|
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
|
|
public StoreStream$dispatchSubscribe$2(Function1 function1) {
|
|
|
|
super(1);
|
|
|
|
this.$onNext = function1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
|
|
public /* bridge */ /* synthetic */ Unit invoke(Object obj) {
|
|
|
|
invoke((List) obj);
|
|
|
|
return Unit.a;
|
|
|
|
}
|
|
|
|
|
|
|
|
public final void invoke(List<? extends T> list) {
|
|
|
|
m.checkNotNullParameter(list, "batch");
|
|
|
|
Iterator it = list.iterator();
|
|
|
|
while (it.hasNext()) {
|
|
|
|
this.$onNext.invoke(it.next());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|