News for hackers. Stuff that matters.
Re:Akka Futures In Scala With A Simple Example by mmaltiar on Monday January 14, 2013 @05:20AM (#5054059)
I focussed on a example with a happy flow. In Akka Futures you can handle only error conditions of the following type.

for example we have future onSuccess future onFailure

or we have onComplete, future onComplete { case Success(result) ⇒ doSomethingOnSuccess(result) case Failure(failure) ⇒ doSomethingOnFailure(failure) }

else you can follow what is mentioned by noelwalsh

There are no comments on this comment yet.