Env: Akka 2.1, scala version 2.10.M6, JDK 1.7,u5
Now is my problem: I have:
future1 = Futures.future(new Callable>(){...
You can create another task
Futures.future(new Runnable(){ // wait for future1 // wait for future2 // do something with the results. });
or merge the tasks
Futures.future(new Runnable(){ // do the work future2 would have done. // wait for future1 // do something with the results. });