Esempio n. 1
0
 @Override
 public void onSubscribe(Subscription s) {
   super.onSubscribe(s);
   subscription = s;
   long r = pendingRequests;
   if (r > 0) {
     subscription.request(r);
   }
 }
 @Override
 public void onSubscribe(Subscription subscription) {
   super.onSubscribe(subscription);
   this.subscription = subscription;
   this.subscription.request(1);
 }