Interface ICanWatch
TBD
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public interface ICanWatch
Methods
| Improve this Doc View SourceUnwatch(IActorRef)
Stops monitoring the subject
for termination.
Declaration
IActorRef Unwatch(IActorRef subject)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | subject | The actor to stop monitor for termination. |
Returns
Type | Description |
---|---|
IActorRef | Returns the provided subject |
Watch(IActorRef)
Monitors the specified actor for termination. When the subject
terminates
the instance watching will receive a Terminated message.
Declaration
IActorRef Watch(IActorRef subject)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | subject | The actor to monitor for termination. |
Returns
Type | Description |
---|---|
IActorRef | Returns the provided subject |
WatchWith(IActorRef, Object)
Monitors the specified actor for termination. When the subject
terminates
the instance watching will receive the provided message.
Declaration
IActorRef WatchWith(IActorRef subject, object message)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | subject | The actor to monitor for termination. |
Object | message | The custom termination message |
Returns
Type | Description |
---|---|
IActorRef | Returns the provided subject |