Hello there. I have a system that I would like to shutdown when all actors are terminated. My system contains two supervisors with some of actors for each of them. The supervisors are watching their children an terminate themselves via a *PoisonPill *when there is no more children. Some child actors are just executing one command and *PoisonPill* themselves after that. But I have some actors that send events and expect a response to those events. For this case, I have a collection of sent events from which I remove the events that have been replied so that I can *PoisonPill *the actor when this collection is empty.
That works but I wonder if there is a better way of waiting for all responses before doing an action. Thanks -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
