Add parameterized Actor
Should only be able to recevie messages of type M and reply with message of type R:
trait TypedActor[M, R] { .. }
trait Actor extends TypedActor[Any, Any]
trait TypedActor[M, R] { .. }
trait Actor extends TypedActor[Any, Any]
Leave a comment