Thanks! 
I think that's exactly what I need, and now that I know about it I see a 
section in docs right above 
"Nested persist calls", which I was looking at before posting my question.

Cheers

W dniu niedziela, 28 lutego 2016 15:50:55 UTC+1 użytkownik Konrad Malawski 
napisał:
>
> A defer() just after the persistAll call should pretty much be what you 
> need, unless I missed something :)
> On Feb 28, 2016 15:23, "Łukasz Gąsior" <lukas....@gmail.com <javascript:>> 
> wrote:
>
>> Hi,
>>
>> Is there a way to execute a handler when all events have been saved using 
>> persistAll?
>> i.e. have (handler: Seq[A] => Unit) or even (handler: () => Unit)
>>
>> Cheers,
>> Łukasz
>>
>> -- 
>> >>>>>>>>>> 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 akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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