Derek Wyatt
Posts: 69
Nickname: dwyatt
Registered: Oct, 2012
|
|
Re: Chapter 8 Decider is not a built-in type in Akka
|
Posted: Nov 13, 2012 3:59 PM
|
|
Don't do that :)
This is defined in the SupervisorStrategy. You can see a number of pages previous to the one that you're reading that we did an import of akka.actor.SupervisorStrategy._ and that import will give you what you need. I don't repeat the imports for every example, and just assume that the chapter runs forward, each example building on the next.
That might not be totally clear though...
But, please remove the type alias you added and import the SupervisorStrategy._
Cheers, Derek
|
|