Take the 2-minute tour ×


I want to use this pattern.

I make a WS call in my Actor which returns a F.Promise. Now I want to pipe this promise to another actor. Patterns.pipe works with Akka future. How can I achieve this pattern using F.Promise?

share|improve this question
What is F in F.Promise? You'd need to wrap that in an Akka Future. –  Roland Kuhn Nov 1 '12 at 7:45
add comment

2 Answers

You can use the "sender" command if you are traversing in 3 layer of actor system. it will send back a data to the actor who is using the future and by this you can pipe it to another actor you want.

share|improve this answer
add comment

In Akka 2.0.2 a Promise IS-A Future, so just: promise pipeTo actor


share|improve this answer
add comment

Your Answer


