Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class SpecialAgent extends Actor {
def receive = Receive {
case DoTheMath(taskDef) =>
context.parent ! getResult(taskDef)
private def getResult(taskDef: TaskDef): DidTheMath = {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.