News for hackers. Stuff that matters.

mmaltiar

Re:Akka Futures In Scala With A Simple Example on Monday January 14, 2013 @05:23AM (#5054068)
Thanks noelwelsh couldn't agree more with you
Re:Akka Futures In Scala With A Simple Example 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

Older »