title: Spring @Async vs completable future run async
body: <p>I might have been doing something really wrong. So, I have Spring's <code>@Async</code></p>
  
  <p>Let's say I have this piece of code</p>
  
  <pre><code>@Async("poolbeanname") 
  Function () {
       // some code 
  }
  </code></pre>
  
  <p>I have one more, let's say I have this piece of code</p>
  
  <pre><code>@Async("poolbeanname") 
  Function () {
       CompletableFuture.runAsync{ new Runnable ()...} 
  } 
  </code></pre>
  
  <p>Now with the second code I can see, some threads got spawned but the first approach doesn't seem to spawn more than one? </p>