Click or drag to resize
Akka.NETICanWatchWatch Method
Monitors the specified actor for termination. When the subject terminates the instance watching will receive a Terminated message.
Remarks
Note that if the Terminated message isn't handled by the actor, by default the actor will crash by throwing a DeathPactException. To change the default behavior, override Unhandled(Object).

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
IActorRef Watch(
	IActorRef subject
)

Parameters

subject
Type: Akka.ActorIActorRef
The actor to monitor for termination.

Return Value

Type: IActorRef
Returns the provided subject
See Also