title: Using a Flux instead of a for loop, any benefits?
body: <p>I am trying to get my head around reactive programming so I would like to ask if there is any benefit to using a Flux here:</p>
  
  <pre><code>override fun notifyObserversOnMessage(message: Message) {
          Flux.fromStream(observers.stream())
                  .map { observer -&gt; Mono.just(observer.reactOnMessage(message)) }
                  .subscribe()        
      }
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>override fun notifyObserversOnMessage(message: Message) {
          for (observer in observers) {
              observer.reactOnMessage(message)
          }       
      }
  </code></pre>
  
  <p>Does it depend on the work each observer is doing and if that is IO or not? </p>