title: Understanding Scala Future andThen
body: <p>I'm trying to use <code>andThen</code> method to register action stages for the future. Like this:</p>
  
  <pre><code>implicit val executionContext = ExecutionContext.global
  
  val f = Future(0)
  f.andThen {
    case r =&gt; println(r.get + "1")
  } andThen {
    case r =&gt; println(r.get + "2")
  }
  </code></pre>
  
  <blockquote>
    <p>Since this method executes asynchronously and does not produce a
    return value, any non-fatal exceptions thrown will be reported to the
    ExecutionContext .</p>
  </blockquote>
  
  <p>What does it mean asynchronously? It means asynchronously to the future execution itself?</p>