Inherited from Serializable
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
Spawn[T] to any2stringadd[Spawn[T]]
Inherited by implicit conversion StringFormat from
Spawn[T] to StringFormat[Spawn[T]]
Inherited by implicit conversion Ensuring from
Spawn[T] to Ensuring[Spawn[T]]
Inherited by implicit conversion ArrowAssoc from
Spawn[T] to ArrowAssoc[Spawn[T]]
Spawn a child actor with the given
behavior
and send back theActorRef
of that child to the givenreplyTo
destination.If
name
is an empty string an anonymous actor (with automatically generated name) will be created.If the
name
is already taken of an existing actor a unique name will be used by appending a suffix to the thename
. The exact format or value of the suffix is an implementation detail that is undefined. This means that reusing the same name for several actors will not result inInvalidActorNameException
, but it's better to use unique names to begin with.