ConnectionStateEmitter typedef

ConnectionStateEmitter = StateEmitter<WebSocketConnectionState>

A state emitter for WebSocket connection state changes.

Provides read-only access to the current WebSocketConnectionState and allows listening to state changes over time.

Implementation

typedef ConnectionStateEmitter = StateEmitter<WebSocketConnectionState>;