Sure Konrad, that's more like an example.

The example is very specific, and not the recommended way.

But even using own custom message and then calling context.stop will give
similar effect.

No, it’s different since it’s not an auto handled message.

You can do whatever you want in response to your own message;

Looks like there is no standard mechanism to stop actor gracefully without
loosing side effects.

Not sure what you mean by "loosing side effects”, that’s what they are;

If you want you can “store them somewhere”, but without context what you
mean specifically there’s no way to advice more specifically, could you
elaborate what your case is?


—
Konrad `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 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