Skip to content

Commit ed0c42c

Browse files
committed
feat(realtime): integrate actor-based components into RealtimeClientV2
- Replace connection management with ConnectionStateMachine - Replace heartbeat logic with HeartbeatMonitor - Replace auth handling with AuthTokenManager - Replace message routing with MessageRouter - Update listenForMessages() to delegate to ConnectionStateMachine - Remove old state management code (heartbeatTask, pendingHeartbeatRef, etc) - Update push() to work with async connection property - Clean up obsolete methods (onConnected, onDisconnected, onError, onClose, reconnect, startHeartbeating, sendHeartbeat) Note: Existing RealtimeTests need updates as they test implementation details that have changed.
1 parent 3ef97ff commit ed0c42c

File tree

1 file changed

+213
-241
lines changed

1 file changed

+213
-241
lines changed

0 commit comments

Comments
 (0)