examples/actor-actions/README.md
Demonstrates how to define and call actions on Rivet Actors for RPC-style communication between actors and clients.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/actor-actions
npm install
npm run dev
createStateThis example demonstrates the fundamentals of defining and calling actor actions:
src/backend/registry.ts): Shows how to define actions with parameters, return values, and state managementRead more about actions, state, and actor setup.
MIT