addConnectionFailedListener(handler:)
Event fired when connection fails with a fatal error and will not be retried
func addConnectionFailedListener(handler: @escaping @Sendable () -> Void) -> Int32
Parameters
handler
takes no arguments
Return Value
token for use with removeEventListener