33 lines
852 B
Java
33 lines
852 B
Java
package j0.l.a;
|
|
|
|
import c.q.a.k.a;
|
|
import rx.Scheduler;
|
|
import rx.Subscriber;
|
|
import rx.functions.Action0;
|
|
/* compiled from: OnSubscribeTimerPeriodically */
|
|
public class j0 implements Action0 {
|
|
public long i;
|
|
public final /* synthetic */ Subscriber j;
|
|
public final /* synthetic */ Scheduler.Worker k;
|
|
|
|
public j0(k0 k0Var, Subscriber subscriber, Scheduler.Worker worker) {
|
|
this.j = subscriber;
|
|
this.k = worker;
|
|
}
|
|
|
|
@Override // rx.functions.Action0
|
|
public void call() {
|
|
try {
|
|
Subscriber subscriber = this.j;
|
|
long j = this.i;
|
|
this.i = 1 + j;
|
|
subscriber.onNext(Long.valueOf(j));
|
|
} catch (Throwable th) {
|
|
Subscriber subscriber2 = this.j;
|
|
a.a0(th);
|
|
subscriber2.onError(th);
|
|
throw th;
|
|
}
|
|
}
|
|
}
|