> 2 apr 2016 kl. 10:31 skrev Guido Medina <[email protected]>:
> 
> I was only thinking in a consistent life cycle for both.
> 
> With the new behavior I think I will never use preStart again in Akka Typed.
> 
> That will be the only way we the users make sure we have control on 
> triggering conditions to execute postStop or not.

This is rather polemic and also wrong. The simple rule is that it is always 
invoked, there are no conditions. And the nice thing about Akka Typed is that 
processing PreStart returns the next behavior, so you get to install different 
PostStop reactions based on whether PreStart was successful or not.

Regards,

Roland

> 
> Regards,
> 
> Guido.
> 
> -- 
>>>>>>>>>>>     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.

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