Ejemplo n.º 1
0
        public Unit ShutdownProcess(bool maintainState)
        {
            Parent.Actor.UnlinkChild(Id);
            ShutdownProcessRec(ActorContext.SelfProcess, ActorContext.GetInboxShutdownItem().Map(x => (ILocalActorInbox)x.Inbox), maintainState);

            children = Map.empty <string, ActorItem>();
            return(unit);
        }
Ejemplo n.º 2
0
        public Unit ShutdownProcess()
        {
            //tellSystem(Parent.Actor.Id, SystemMessage.UnlinkChild(Id));
            Parent.Actor.UnlinkChild(Id);
            ShutdownProcessRec(ActorContext.SelfProcess, ActorContext.GetInboxShutdownItem().Map(x => (ILocalActorInbox)x.Inbox));

            children = Map.empty <string, ActorItem>();
            return(unit);
        }