Creates a new actor with the provided key and returns a stateless handle to it. Resolves the actor ID and returns a handle with getForId query.
The actor class that this handle is for.
The name of the actor.
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).
Disconnects from all actors.
A promise that resolves when all connections are closed.
Gets a stateless handle to a actor by its key, but does not create the actor if it doesn't exist.
The actor class that this handle is for.
The name of the actor.
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 actor class that this handle is for.
The name of the actor.
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 class that this handle is for.
The name of the actor.
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.
Client for managing & connecting to actors.
Template: A
The actors map type that defines the available actors.
See
& Manage Actors