Partilhar via


ConnectionStateChangedEvent type

Payload para evento alterado de estado.

type ConnectionStateChangedEvent = (args: {
  newValue: ConnectionState
  oldValue: ConnectionState
  reason?: ConnectionStateChangedReason
}) => void