Thanks Konrad. I'll test it out more.. On Wednesday, January 31, 2018 at 8:22:00 PM UTC-5, Konrad Malawski wrote: > > There is no reliable way to know what “everything is done” means. > This is because operations are asynchronous, and if you were to observe > “oh! nothing is in any mailbox!” the next millisecond something may > actually be in the mailbox, because it was just being asynchonously added. > > Shutting down the system, must be an explicit decision. > It’s not like in sychronous programming world where things just “surely > have ended”. > > You have to call system.terminate to do this. > > There also is the reaper pattern: > http://letitcrash.com/post/30165507578/shutdown-patterns-in-akka-2 > The pattern is pretty old, but still applies. > > -- > Cheers, > Konrad 'ktoso <http://kto.so>' Malawski > Akka <http://akka.io/> @ Lightbend <http://lightbend.com/> > > >
-- >>>>>>>>>> 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.
