Akka.NET What IActorRef will ActorSelection return if I have more than 1 actor with same name?

For example this is how I am creating my child actors:

var supervisorActor = Context.ActorOf(Props.Create(() => new ProcessSupervisorActor(Self)).WithRouter(new RoundRobinPool(5)), "ProcessSupervisor"); 

So if I do an Actor Selection like:


Which IActorRef is it going to return? The first one it has in its collection and alive? What is the criteria?

submitted by /u/nummer31
[link] [comments]

Leave a Reply