Exemplo n.º 1
0
 /// <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);
Exemplo n.º 2
0
 /// <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);
Exemplo n.º 3
0
 /// <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);