ActorSpawner
in
Minimal interface for spawning named actors.
Allows EntityRefFactory to be tested without depending on the final ActorSystem class.
Tags
Table of Contents
Methods
Methods
spawn()
public
spawn(Props<string|int, T> $props, string $name) : ActorRef<string|int, T>
Parameters
- $props : Props<string|int, T>
- $name : string