Assume I have two IActorRef
pointing to the same actor but obtained from different sources:
One actor reference was obtained during local creation of an actor:
var actorRef1 = system.ActorOf<MyActor>("myActor");
Later this actor reference was passed to a remote actor, and after the same actor reference was returned back (as an actorRef2
for example).
Are the two actor references test for equality?
Object.Equals(actorRef1, actorRef2); // true???
Or another case: two IActorRef
were received from different remote systems, and pointing to a same actor on another remote system.