/// <summary> /// Kill the process. /// Forces the process to shutdown. The kill message /// jumps ahead of any messages already in the process's queue. /// </summary> public static Unit Shutdown(this ProcessId self) => self.Tell(SystemMessage.ShutdownProcess(true), Self);
/// <summary> /// Kill the process. /// Forces the process to shutdown. The kill message /// jumps ahead of any messages already in the process's queue. /// </summary> public static Unit Kill(this ProcessId self) => self.Tell(SystemMessage.ShutdownProcess, ActorContext.Self);
/// <summary> /// Kill the process. /// Forces the process to shutdown. The kill message /// jumps ahead of any messages already in the process's queue. /// </summary> public static Unit Kill(this ProcessId self) => self.Tell(SystemMessage.ShutdownProcess(false), Self);