Ejemplo n.º 1
0
 public Unit DispatchWatch(ProcessId pid)
 {
     ActorContext.GetDispatcher(pid).Watch(Id);
     return(ActorContext.AddWatcher(pid, Id));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Add a watcher of this Process
 /// </summary>
 /// <param name="pid">Id of the Process that will watch this Process</param>
 public Unit AddWatcher(ProcessId pid) =>
 ActorContext.AddWatcher(pid, Id);