Dela via


ConnectionStateChangedEvent type

Nyttolast för tillstånds ändrad händelse.

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