examples/kitchen-sink/SPEC.md
Comprehensive example demonstrating all RivetKit features with a simple React frontend.
Configuration Row 1:
Actor Management Row 2:
create() | get() | getOrCreate() | getForId() (when no actor connected)dispose() (when actor connected)Status Row 3:
schedule.at() with timestamp inputschedule.after() with delay inputsleep() buttononWake, onSleep)demo - Main comprehensive actorschedule.at(), schedule.after())onWake, onSleep, onConnect, onDisconnect)http - Raw HTTP handlingonFetch() handlerwebsocket - Raw WebSocket handlingonWebSocket() handlerschedule.at(), schedule.after() with alarm handlerssleep() method with configurable sleep timeoutonWake, onSleep, onConnect, onDisconnectclient.actor.create(key, opts)client.actor.get(key, opts)client.actor.getOrCreate(key, opts)client.actor.getForId(actorId, opts)client.dispose() - disconnect all connections