How is it possible to obtain the name of an ActorRef?
Suppose the following actor is declared:
val a = system.actorOf(Props(new X(false)), name = "a")
How the name("a") can be retrieved from an ActorRef of typeX
?
How is it possible to obtain the name of an ActorRef?
Suppose the following actor is declared:
val a = system.actorOf(Props(new X(false)), name = "a")
How the name("a") can be retrieved from an ActorRef of typeX
?