traitRunnableActorInject extends Runnable with ActorInject
This makes for a good type for entry points.
Using something like this means that the main entrypoint can
be limited to doing a minimal Guice bootstrap which can then
be used to load everything else in your application.
Unlike ActorInject, this trait will get the injector
automatically injected.
This makes for a good type for entry points.
Using something like this means that the main entrypoint can be limited to doing a minimal Guice bootstrap which can then be used to load everything else in your application.
Unlike ActorInject, this trait will get the injector automatically injected.