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
| Parameter | Type |
|---|---|
state | RealTimeConnectionState |
error? | RealTimeConnectionError |
Returns
void