Hi
While implementing actors, is it necessary to implement a "catch all" case
in the receive method. Are there any guidelines around these? For eg:
override def receive = {
case x: Type1 => ...
case y: Type2 => ...
}
Should we have a "case _: " or something similar to handle any other type
that this actor doesn't care about?
Thanks for your inputs.
- Ranga
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.