title: How to access multiple Completablefuture Stage variables at the end
body: <p>Im trying to use multiple different variables at the end of a completablefuture pipe. Its hard to explain. Here is my example:</p>
  
  <pre><code>private void test(){
  lib.getHumanFromDatabase().thenApplyAsync(human-&gt;{
          //returns one human from the database
          return human;
      }, executor).thenComposeAsync(humanFromDb-&gt; {
          //Set new name of human
          humanFromDb.setName("NameOfHuman");
          //update human and return the new entity
          return lib.updateHumanInDatbase(humanFromDb);
      }, executor).thenComposeAsync(humanFromDb-&gt; {
          //Then ask for his home
          return lib.getHomeOfHuman(humanFromDb);
      }).thenAcceptAsync(homeOfHuman-&gt; {
          //So here at the end i want to access 
          //the variable humanFromDb AND
          //the variable homeOfHuman BUT
          //i only get homeOfHuman ...
      }, executor).handleAsync((ok, ex) -&gt; {
          //Just for exception and so on
      }, executor);
  }
  </code></pre>
  
  <p>I first tried to store the variables outside of lambda inside the method but here i get the information, that the variable has to be final. Is there any possebility to access both variables and the end to return them for example in some UI-Window or something? Maybe it is important, that both variables are of a different type.</p>
  
  <p>Maybe it is not possible and i have to use a different approach? I have no clue ...</p>