title: How can i get subscribe to only last data?
body: <p>i am doing system of searching in my App. And i subscribe on EventBusEvent</p>
  
  <pre><code>addSubscription(TheApplication.getEventBus().observe(UpdateSearchResults.class).subscribe(event -&gt;
          getViewModel().setParameter(event.getText())
      ));
  </code></pre>
  
  <p>Event:</p>
  
  <pre><code>public class UpdateSearchResults
  {
      public UpdateSearchResults(String text)
      {
          this.text = text;
      }
  
      public String getText()
      {
          return text;
      }
  
      private String text;
  }
  </code></pre>
  
  <p>And each time when user input new symbol. I send event like this:</p>
  
  <pre><code>TheApplication.getEventBus().post(new UpdateSearchResults(newText));
  </code></pre>
  
  <p>Can i with help rxJava handle only  last data?</p>
  
  <p>Example: user is input string fast: "Example" and after input symbol <strong>"e"</strong> subscription will work. But for other symbols subscription will not work.</p>
  
  <p>What kind of solutions to the problem exist?</p>