2021-06-27 20:44:35 +00:00
|
|
|
package j0.l.a;
|
|
|
|
|
|
|
|
import c.q.a.k.a;
|
|
|
|
import j0.n.e;
|
|
|
|
import rx.Observable;
|
|
|
|
import rx.Subscriber;
|
|
|
|
import rx.functions.Func0;
|
|
|
|
/* compiled from: OnSubscribeDefer */
|
|
|
|
public final class j<T> implements Observable.a<T> {
|
|
|
|
public final Func0<? extends Observable<? extends T>> i;
|
|
|
|
|
|
|
|
public j(Func0<? extends Observable<? extends T>> func0) {
|
|
|
|
this.i = func0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // rx.functions.Action1
|
|
|
|
public void call(Object obj) {
|
|
|
|
Subscriber subscriber = (Subscriber) obj;
|
|
|
|
try {
|
2021-07-03 23:36:06 +00:00
|
|
|
((Observable) this.i.call()).i0(new e(subscriber, subscriber));
|
2021-06-27 20:44:35 +00:00
|
|
|
} catch (Throwable th) {
|
2021-06-27 20:53:42 +00:00
|
|
|
a.a0(th);
|
2021-06-27 20:44:35 +00:00
|
|
|
subscriber.onError(th);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|