ReadonlyrequestThe incoming request that initiated the connection. May be undefined for connections initiated without a direct HTTP request.
AbortSignal that fires when the actor is stopping.
Gets actor ID.
Gets the map of connections.
Gets the actor key.
Gets the logger instance.
Gets the actor name.
Gets the region.
Gets the scheduler.
Get the actor state
Get the actor variables
Broadcasts an event to all connected clients.
The name of the event.
The arguments to send with the event.
Forces the state to get saved.
Options for saving the state.
ExperimentalForces the actor to sleep.
Not supported on all drivers.
Prevents the actor from sleeping until promise is complete.
Context for the createConnState lifecycle hook. Called to initialize connection-specific state when a connection is created.