DOC: Error Kernel example in Actor docs doesn't do what is intended. See #1803
This commit is contained in:
parent
780736255b
commit
b25d25e6f7
1 changed files with 1 additions and 3 deletions
|
|
@ -48,9 +48,7 @@ class FirstActor extends Actor {
|
|||
context.stop(self)
|
||||
}
|
||||
def doSomeDangerousWork(msg: ImmutableMessage): String = { "done" }
|
||||
})) ! m
|
||||
|
||||
case replyMsg: String ⇒ sender ! replyMsg
|
||||
})) forward m
|
||||
}
|
||||
//#anonymous-actor
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue