Emitted on WebSocket lifecycle transitions.
Subscribe via O2WebSocket.streamLifecycle to detect reconnects and re-sync state from the REST API — messages during the disconnect window are lost.
Reconnect attempt number (0 when not reconnecting).
Human-readable description.
The new connection state.
Emitted on WebSocket lifecycle transitions.
Subscribe via O2WebSocket.streamLifecycle to detect reconnects and re-sync state from the REST API — messages during the disconnect window are lost.