Esempio n. 1
0
 public Unit DispatchUnWatch(ProcessId pid)
 {
     ActorContext.GetDispatcher(pid).UnWatch(Id);
     return(ActorContext.RemoveWatcher(pid, Id));
 }
Esempio n. 2
0
 /// <summary>
 /// Remove a watcher of this Process
 /// </summary>
 /// <param name="pid">Id of the Process that will stop watching this Process</param>
 public Unit RemoveWatcher(ProcessId pid) =>
 ActorContext.RemoveWatcher(pid, Id);