import { SOCKET_STATES } from "../constants";

/**
 * Enum representing the different states of a live connection.
 *
 * @deprecated Since 3.4. Use `SOCKET_STATES` for generic socket connection states instead.
 */
export enum LiveConnectionState {
  CONNECTING = SOCKET_STATES.connecting,
  OPEN = SOCKET_STATES.open,
  CLOSING = SOCKET_STATES.closing,
  CLOSED = SOCKET_STATES.closed,
}
