public Unit DispatchUnWatch(ProcessId pid) { ActorContext.GetDispatcher(pid).UnWatch(Id); return(ActorContext.RemoveWatcher(pid, Id)); }
/// <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);