Creates a new actor with the name automatically injected from the property accessor, and returns a stateless handle to it with the actor ID resolved.
Optionalkey: string | string[]The key to identify the actor. Can be a single string or an array of strings.
Optionalopts: CreateOptionsOptions for creating the actor (excluding name and key).
Gets a stateless handle to a actor by its key, but does not create the actor if it doesn't exist. The actor name is automatically injected from the property accessor.
Optionalkey: string | string[]The key to identify the actor. Can be a single string or an array of strings.
Optionalopts: GetWithIdOptionsOptions for getting the actor.
Gets a stateless handle to a actor by its ID.
The ID of the actor.
Optionalopts: GetWithIdOptionsOptions for getting the actor.
Gets a stateless handle to a actor by its key, creating it if necessary. The actor name is automatically injected from the property accessor.
Optionalkey: string | string[]The key to identify the actor. Can be a single string or an array of strings.
Optionalopts: GetOrCreateOptionsOptions for getting the actor.
Represents a actor accessor that provides methods to interact with a specific actor.