mmaltiar
Index data in bulk in elasticsearch with scala using java Bulk API
Dependency Injection In Scala using Self Type Annotations
Play Framework : Uploading a file to server
Akka Actor And Futures
Scala Liftweb : Use Forgot Password to send Email with Unique Token
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