TestActorRef<(Of <(<'T>)>)>..::..Unwatch Method

Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not 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.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll)

Syntax


public void Unwatch(
	ActorRef subject
)
Public Sub Unwatch ( _
	subject As ActorRef _
)
public:
void Unwatch(
	ActorRef^ subject
)

Parameters

subject
Type: Akka.Actor..::..ActorRef
The subject to unwatch.

Return Value

Returns the same ActorRef that is provided to it, to allow for cleaner invocations.