Connection to an actor. Allows calling actor's remote procedure calls with inferred types. See ActorHandleRaw for underlying methods.
Provides underlying functions for ActorHandle. See ActorHandle for using type-safe remote procedure calls.
RPC function returned by ActorHandle
. This will call ActorHandle.rpc
when triggered.
A function that unsubscribes from an event.
Options for getting an actor by ID.
Protocol format used to communicate between the client & actor.
Uses the Rivet CLI to read the manager endpoint to connect to. This allows for writing tests that run locally without hardcoding the manager endpoint.