examples/cross-actor-actions-vercel/README.md
Note: This is the Vercel-optimized version of the cross-actor-actions example. It uses the
hono/verceladapter and is configured for Vercel deployment.
Demonstrates how actors can call actions on other actors for inter-actor communication and coordination.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/cross-actor-actions
npm install
npm run dev
This example demonstrates advanced inter-actor communication patterns:
src/backend/registry.ts): Defines multiple actors (cart, inventory) that communicate with each other to implement a checkout workflowRead more about communicating between actors, actions, and state.
MIT