Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Convex
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References

RealtimeStateChangeCallback

Type Alias: RealtimeStateChangeCallback

ts
type RealtimeStateChangeCallback = (state: RealtimeClientState) => void;

Defined in: ai-client/src/realtime-types.ts

Callback function invoked when the realtime client state changes. Receives the full current RealtimeClientState.