May 2017
Intermediate to advanced
414 pages
13h
English
For this recipe, we need to perform the following steps:
package com.packt.chapter10 import akka.actor.{Actor, ActorLogging} import com.packt.chapter10.TrafficLightFSM.ReportChange class FSMChangeSubscriber extends Actor with ActorLogging { def receive = { case ReportChange(s, d) => log.info(s"Change detected to [$s] at [$d]") } }
Read now
Unlock full access