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