use of io.reactivex.rxjava3.internal.subscriptions.SubscriptionArbiter in project RxJava by ReactiveX.
the class FlowableRetryBiPredicate method subscribeActual.
@Override
public void subscribeActual(Subscriber<? super T> s) {
SubscriptionArbiter sa = new SubscriptionArbiter(false);
s.onSubscribe(sa);
RetryBiSubscriber<T> rs = new RetryBiSubscriber<>(s, predicate, sa, source);
rs.subscribeNext();
}
use of io.reactivex.rxjava3.internal.subscriptions.SubscriptionArbiter in project RxJava by ReactiveX.
the class FlowableRepeatUntil method subscribeActual.
@Override
public void subscribeActual(Subscriber<? super T> s) {
SubscriptionArbiter sa = new SubscriptionArbiter(false);
s.onSubscribe(sa);
RepeatSubscriber<T> rs = new RepeatSubscriber<>(s, until, sa, source);
rs.subscribeNext();
}
use of io.reactivex.rxjava3.internal.subscriptions.SubscriptionArbiter in project RxJava by ReactiveX.
the class FlowableRetryPredicate method subscribeActual.
@Override
public void subscribeActual(Subscriber<? super T> s) {
SubscriptionArbiter sa = new SubscriptionArbiter(false);
s.onSubscribe(sa);
RetrySubscriber<T> rs = new RetrySubscriber<>(s, count, predicate, sa, source);
rs.subscribeNext();
}
use of io.reactivex.rxjava3.internal.subscriptions.SubscriptionArbiter in project RxJava by ReactiveX.
the class FlowableRepeat method subscribeActual.
@Override
public void subscribeActual(Subscriber<? super T> s) {
SubscriptionArbiter sa = new SubscriptionArbiter(false);
s.onSubscribe(sa);
RepeatSubscriber<T> rs = new RepeatSubscriber<>(s, count != Long.MAX_VALUE ? count - 1 : Long.MAX_VALUE, sa, source);
rs.subscribeNext();
}
Aggregations