On my journey to grasp the Actor model using Akka many questions pop up. Here is another one. Say we have an Actor which has to stop processing messages for a given time because
case object NextEmail class EmailActor extends Actor { self ! NextEmail def receive = { case NextEmail => sendEmailIfAnyToSend context.system.scheduler.scheduleOnce(3 seconds, self, NextEmail) } }