A suggestion how things could be done otherwise.

This commit is contained in:
Viktor Klang 2012-07-25 21:24:15 +02:00
parent 58dcfb1004
commit cc3f576f0a
4 changed files with 39 additions and 57 deletions

View file

@ -54,7 +54,7 @@ class AgentDocSpec extends AkkaSpec {
"send and sendOff" in {
val agent = Agent(0)
import system.dispatcher
//#send
// send a value
agent send 7