ConnectionStateChangedEvent type
Nutzlast für zustandsänderungsereignis.
type ConnectionStateChangedEvent = (args: {
newValue: ConnectionState
oldValue: ConnectionState
reason?: ConnectionStateChangedReason
}) => void