[akka-user] pipeTo without ask

2015-09-24 Thread Gary Struthers
I have an actor that makes a call returning a Future and it works def receive = { case GetAccountBalances(id: Long) ⇒ { try { val f = requestCheckingBalances(id, CheckingBalancesClient. configBaseUrl(hostConfig)) f pipeTo sender } catch { case e:

Re: [akka-user] pipeTo without ask

2015-09-24 Thread Patrik Nordwall
Aside from Heiko's point it looks good. /Patrik tors 24 sep 2015 kl. 22:05 skrev Heiko Seeberger : > As `requestCheckingBalances` returns a `Future`, it hopefully catches any > non-fatal `Throwable`s and returns a failed `Future` – in that case you > don’t have to catch the