Aaronontheweb on dev
Singleton class and settings ba… (compare)
Aaronontheweb on dev
[SBR] Ignore reachability recor… (compare)
Receive<SendTo>(send => {
string recipient = send.Recipient;
object message = send.Message;
var child = GetChild(recipient);
if (Equals(child, ActorRefs.Nobody))
{
child = Context.ActorOf(childProps, recipient);
}
child.Forward(message);
});
Context.Child
is O(1) - it's a dictionary lookup