Suppose I have some class which has a property actor_
of type Actor
. Is there a problem with me doing
def someMethod() = {
actor_
I don't see a problem with doing that. If it makes sense in your code, then why not? If you look at the pure actor model everything is an actor and only actors are communicatinng with each other, if you can design your code like this..great..if you can't or don't want to then it's ok to send messages from non-actors to actors.