Communication
Communicating Between Actors
Learn how actors can call other actors and share data
Actors can communicate with each other using the server-side actor client, enabling complex workflows and data sharing between different actor instances.
We recommend reading the clients documentation first. This guide focuses specifically on communication between actors.
Using the Server-Side Actor Client
The server-side actor client allows actors to call other actors within the same registry. Access it via c.client()
in your actor context:
TypeScript
Use Cases and Patterns
Actor Orchestration
Use a coordinator actor to manage complex workflows:
TypeScript
Data Aggregation
Collect data from multiple actors:
TypeScript
Event-Driven Architecture
Use connections to listen for events from other actors:
TypeScript
Batch Operations
Process multiple items in parallel:
TypeScript