Dear users

I find the semantics of "defer" confusing.

I thought defer was the same as persist, except the given message was not 
persisted. Now today, when a bug got me to read the doc again, it states 
that defer has the same semantics as persistAsync.

My first thought was that "defer" should be renamed "deferAsync", to 
communicate the relation to persistAsync. Both are async, but the point is 
that persist is executed before the next command is processed, while 
persistAsync is not.

Names aside, is there a function similar to defer, that is guaranteed to be 
executed before the next command is processed?

Best regrads,

Anders Båtstrand

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to