Click or drag to resize
Akka.NETTestKitBaseWatch Method
Have the TestActor watch an actor and receive Terminated messages when the actor terminates.

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public IActorRef Watch(
	IActorRef actorToWatch
)

Parameters

actorToWatch
Type: Akka.ActorIActorRef
The actor to watch.

Return Value

Type: IActorRef
The actor to watch, i.e. the parameter actorToWatch
See Also