dummy parameter as requirement for AnyVal. Option[Nothing] has one inhabitant, None. Unit is not possible, since it is a AnyVal type itself.
Creates a new typed Props that uses the given class and constructor arguments to create instances of this actor.
Creates a new typed Props that uses the given class and constructor arguments to create instances of this actor.
Wrapper for akka.actor.Props[T](Class[T], Any*)
.
the actor type
the class of this actor
the constructor argumentes of this actor
a typed Props to create ActorRef[A]
s for this actor
Creates a new typed Props that uses the given creator function to create instances of this actor.
Creates a new typed Props that uses the given creator function to create instances of this actor.
CAVEAT: Required mailbox type cannot be detected when using anonymous
mixin composition when creating the instance. For example, the following
will not detect the need for DequeBasedMessageQueueSemantics
as defined
in Stash
:
'Props(new Actor with Stash { ... })
Instead you must create a named class that mixin the trait, e.g.
class MyActor extends Actor with Stash
.
Wrapper for akka.actor.Props[T](=> T)
.
the actor type
the thunk that create the new instance of this actor
a typed Props to create ActorRef[A]
s for this actor
Creates a new typed Props that uses the default constructor of the given actor type to create new instances of this actor.
Creates a new typed Props that uses the default constructor of the given actor type to create new instances of this actor.
Wrapper for akka.actor.Props[T]
.
the actor type
a typed Props to create ActorRef[A]
s for this actor
dummy parameter as requirement for AnyVal.
dummy parameter as requirement for AnyVal. Option[Nothing] has one inhabitant, None. Unit is not possible, since it is a AnyVal type itself.
Type-curried creation of
Props[A]
to aid the type inference.the message type this actor is receiving
de.knutwalker.akka.typed.PropsOf