Skip to main content
Version: v1.41.0

RealTimeConnectionEventMap

RealTimeConnectionEventMap: object

Events emitted by RealTimeConnection.

Type declaration​

stateChanged()​

stateChanged: (state, error?) => void

The connection moved to a new state. A DISCONNECTED state caused by a failure carries the RealTimeConnectionError.

Parameters​

ParameterType
stateRealTimeConnectionState
error?RealTimeConnectionError

Returns​

void