I do the same for DI.
Akka Testkit use this constructor DI mechanism for it's proposed unit test
approach.
I've tried with ScalDI, Spring for DI, it works on the implementation side,
but not working with Akka unit test in terms of using Akka TestKit. Plus,
introducing a DI framework in AKKA
Jumping in here because i was curious about the same thing... i went
back to the docs for Actors, specifically this part about recommended
practices using Props:
http://doc.akka.io/docs/akka/2.3.7/scala/actors.html#Recommended_Practices.
from the fine documentation:
"It is a good idea to prov
Thanks, Andrew! This was super helpful to me!
Sorry for the newbie question, but why do we define a companion object for
MainActor, and create the props that way? What benefit does this give us?
On Wednesday, 26 November 2014 01:23:40 UTC+11, Andrew James Ramirez wrote:
>
> Hi,
>
> What is the b