| Watchersmonitor Method |
Orders a watcher to monitor an actor targeted by provided subject.
When an actor refered by subject dies, a watcher should receive a [Terminated] message.
Namespace:
Akka.FSharp
Assembly:
Akka.FSharp (in Akka.FSharp.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static IActorRef monitor(
IActorRef subject,
ICanWatch watcher
)
static member monitor :
subject : IActorRef *
watcher : ICanWatch -> IActorRef
Parameters
- subject
- Type: Akka.ActorIActorRef
[Missing <param name="subject"/> documentation for "M:Akka.FSharp.Watchers.monitor(Akka.Actor.IActorRef,Akka.Actor.ICanWatch)"]
- watcher
- Type: Akka.ActorICanWatch
[Missing <param name="watcher"/> documentation for "M:Akka.FSharp.Watchers.monitor(Akka.Actor.IActorRef,Akka.Actor.ICanWatch)"]
Return Value
Type:
IActorRef[Missing <returns> documentation for "M:Akka.FSharp.Watchers.monitor(Akka.Actor.IActorRef,Akka.Actor.ICanWatch)"]
See Also