A shapeless-powered, typed variant of the actor/props creation.
This is an alternative over constructors, that use the Class[A], Any*
overload to create actors.
You must use TypedActors and these actors must be case classes for
this to work.
Use apply with the TypedActor as the type parameter and then call either
create or props with the appropriate constructor parameters to create
either an ActorRef or a Props.
A shapeless-powered, typed variant of the actor/props creation. This is an alternative over constructors, that use the
Class[A], Any*
overload to create actors.You must use
TypedActor
s and these actors must becase class
es for this to work.Example:
Usage
Use apply with the
TypedActor
as the type parameter and then call eithercreate
orprops
with the appropriate constructor parameters to create either an ActorRef or a Props.