Having problems with Akka 2.1.2 Scheduler ('system' not recognized)

后端 未结 1 1806
再見小時候
再見小時候 2021-02-12 21:46

I\'m trying to get a very simple recurring function loop running, according to these samples:

http://doc.akka.io/docs/akka/2.1.2/scala/scheduler.html

The code:

相关标签:
1条回答
  • 2021-02-12 21:50

    It looks like missing of following expression before import system.dispatcher:

    val system = akka.actor.ActorSystem("system")
    
    0 讨论(0)
提交回复
热议问题