Interface ICanWatch
TBD
Namespace: Akka.Actor
Assembly: Akka.dll
Syntax
public interface ICanWatch
Methods
| Edit this page 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 |
Edit this page