I was trying to use a Future in Akka today and got the following error message:
value ? is not a member of akka.actor.ActorRef
It turns out you have to import the akka.pattern.ask to use ‘?’. There is a implicit conversion from ActorRef to AskableActorRef.
So add the following import and you should be set to go (take note that ask does not start with a capital:
2 thoughts on ““value ? is not a member of akka.actor.ActorRef””
ha ha haaa :D; fu..k this is grate document I seen in my life!!! Tnx
Glad it helped.