Partager via


ConnectionStateChangedEvent type

Charge utile pour l’événement de changement d’état.

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