 | TestActorRefBaseTActorWatch 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.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic void Watch(
IActorRef subject
)
member Watch :
subject : IActorRef -> unit
Parameters
- subject
- Type: Akka.ActorIActorRef
The subject to watch.
Return Value
Type:
Returns the same ActorRef that is provided to it, to allow for cleaner invocations.
See Also