I need an actor to send a message every minute. How do I best achieve this behaviour? I am afraid of using java.lang.Thread.sleep(long millis) as a thread can be shared among many actors in Scala, as far as I understand.
I need an actor to send a message every minute. How do I best
Share
Create an actor with
receiveWithinto act as the timer.