Hi Tal,
thanks for pointing out it's not linked to in the docs around `ask`.

We have one and it's available in `akka.pattern.PatternsCS`,
so you can import statically from that object and it'll read nice (`ask(who, 
what): COmpletionStage`) :-)

I'll add a note to the docs as well: https://github.com/akka/akka/pull/19870

Cheers!

-- 
Cheers,
Konrad 'ktoso’ Malawski
Akka @ Lightbend

On 24 February 2016 at 16:33:29, Tal Pressman ([email protected]) wrote:

Hi,

As far as I can tell, "ask" currently only returns a Scala Future. Is there 
also a more Java-friendly version that returns a CompletionStage?

Thanks,
Tal
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to