Using Scaldi I want to inject Actors into other Actors. When should I use inject
vs injectActorRef
?
For example, in the Module
I have a binding that looks like this: binding toProvider new SomeActor()
. When injecting SomeActor
which method should I use?