public class Spawn<T,B extends Receptor<T,B>>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
protected akka.actor.typed.Behavior<T> |
setup(B child) |
akka.actor.typed.ActorRef<T> |
spawn(B child)
Note, the factory is called in a separated thread.
|
protected akka.actor.typed.ActorRef<T> |
spawnChild(B child) |
akka.actor.typed.ActorRef<T> |
spawnExternally(B child) |
B |
spawnNow(B child) |
B |
spawnNowExternally(B child) |
Spawn<T,B> |
withName(java.lang.String name) |
Spawn<T,B> |
withProps(akka.actor.typed.Props props) |