MutableConnectionStateEmitter typedef

MutableConnectionStateEmitter = MutableStateEmitter<WebSocketConnectionState>

A mutable state emitter for WebSocket connection state changes.

Extends ConnectionStateEmitter with the ability to update the current state. Used internally by WebSocket client implementations to manage state transitions.

Implementation

typedef MutableConnectionStateEmitter
    = MutableStateEmitter<WebSocketConnectionState>;