title: How to stop making webflux calls if the previous call returns ok
body: <p>i have just started my reactor journey, and blocked at following implementation.</p>
  <pre class="lang-java prettyprint-override"><code>List&lt;Integer&gt; l = Arrays.asList(1, 2, 3, 4);
  Integer firstValuePresent = 0;
  for (int i = 0; i &lt; l.size(); i++) {
      x = checkDb(l.get(i));//db or any io call
      if (x.isPresent())//check for the first available value in db
      {
          firstValuePresent = l.get(i);
          break;
      }
  }
  //do something with firstValuePresent
  </code></pre>
  <p>how can i do like this in case of reactor.
  I suspect that take or takeWhile can help but don't know how.
  Helps are appreciated</p>