示例#1
0
 Unit ShutdownProcess(bool maintainState) =>
 ActorContext.System(Actor.Id).WithContext(
     new ActorItem(
         Actor,
         (IActorInbox)Inbox,
         Actor.Flags
         ),
     Actor.Parent,
     ProcessId.NoSender,
     null,
     SystemMessage.ShutdownProcess(maintainState),
     None,
     () => Actor.ShutdownProcess(maintainState)
     );
 public Unit Shutdown() =>
 // TODO: Not yet implemented on the JS side
 ProcessId.Tell(SystemMessage.ShutdownProcess(true), Self);
示例#3
0
 public Unit Kill() =>
 // TODO: Not yet implemented on the JS side
 ProcessId.Tell(SystemMessage.ShutdownProcess(false), ActorContext.Self);
示例#4
0
 public Unit Shutdown() =>
 TellSystem(SystemMessage.ShutdownProcess(true), ActorContext.Self);
示例#5
0
 public Unit Kill() =>
 TellSystem(SystemMessage.ShutdownProcess(false), ActorContext.Self);
示例#6
0
 public Unit Shutdown() =>
 TellSystem(SystemMessage.ShutdownProcess(true), Self);
示例#7
0
 public Unit Kill() =>
 TellSystem(SystemMessage.ShutdownProcess(false), Self);