I just realized that I have been misusing PersistentActor.persistAll() for
quite some time now -- the only reason it hasn't produced horrible bugs is
because I haven't yet used it for more than a single Event at a time.  (And
foolishly didn't check my types properly.)  I had assumed it called its
callback after *all* Events were persisted; I just realized that it is
called for *each* of them.

Assumption check: as far as I can tell, there is no way to tell that *all*
of the Events passed to persistAll() have been persisted, and react *once*
when they're all complete.  (Short of, eg, keeping some kind of mutable
counter in the callback.)  Correct?

-- 
>>>>>>>>>>      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.

Reply via email to