Akka.TestKit.Internal.InternalTestActorRef.Watch C# (CSharp) Method

Watch() public method

Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated. Returns the same ActorRef that is provided to it, to allow for cleaner invocations.
public Watch ( IActorRef subject ) : void
subject IActorRef The subject to watch.
return void
        public void Watch(IActorRef subject)
        {
            Cell.Watch(subject);
        }