title: RxJava - subcribe and wait until a variable is true
body: <p>I've searched but found nothing so far... or I'm just confuse what should I look for.</p>
  
  <p>What I'm trying to do is, a subscription will be made and will check if variable X is TRUE. If not it will wait until it turns to TRUE and execute the succeeding events.</p>
  
  <p>I'm looking into the repeat() method but not sure how it works... any suggestion is very much appreciated...</p>