For my actor hierarchy, I do not know all the actors I need until I process the data through a few actors, so I'm looking for a way to either return an existing ActorRef or create a new action. This is what I would like the code below to either create an actor if one does not exist at "my-id-1" or return the one that already exists.
Context.ActorOf(MyActor.Props(message), "my-id-1");
The above code will (as documented) throw a InvalidActorNameException
if the actor already exists. How can I accomplish this in Akka.net?