MCPcopy
hub / github.com/slopus/happy / useRealtimeStatus

Function useRealtimeStatus

packages/happy-app/sources/sync/storage.ts:1560–1562  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1558}
1559
1560export function useRealtimeStatus(): 'disconnected' | 'connecting' | 'connected' | 'error' {
1561 return storage(useShallow((state) => state.realtimeStatus));
1562}
1563
1564export function useRealtimeMode(): 'idle' | 'agent-speaking' | 'user-speaking' {
1565 return storage(useShallow((state) => state.realtimeMode));

Callers 6

InboxView.tsxFile · 0.90
SidebarView.tsxFile · 0.90
MainView.tsxFile · 0.90
SessionView.tsxFile · 0.90
SessionViewLoadedFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected