Last active
May 15, 2019 14:45
-
-
Save ihrimech/222693623de82770ea88e40841dee100 to your computer and use it in GitHub Desktop.
Minimal Actor Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Human extends Actor with ActorLogging { | |
override def receive: Receive = { | |
case message: String => log.info(s"I received the following message $message") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment