Features
- Type-safe actor actions: Define and call actions with full TypeScript type safety
- Actor state management: Initialize and persist actor state using
createState - Cross-actor communication: Create and interact with actors from within other actors
- RPC-style patterns: Call actor methods from client code with automatic type inference
Implementation
This example demonstrates the fundamentals of defining and calling actor actions:
- Actor Definition (
src/backend/registry.ts): Shows how to define actions with parameters, return values, and state management
Resources
Read more about actions, state, and actor setup.



