# ReconnectionFailedCallback Function

> Callback function for the reconnectionFailed event.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Function
- **Introduced:** 33.0
- **Path:** DS Server > Reference > JavaScript API > ReconnectionFailedCallback Function
- **170 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedcallback/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedcallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedcallback/llms-full.txt

---

### Description

Callback function for the [reconnectionFailed event](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/addeventlistener-method/llms-full.txt).

### Syntax

```javascript
function(<ReconnectionFailedEventArgs> args)
```

### Examples

The following example demonstrates `ReconnectionFailedCallback` in a practical document-editing workflow. Callback function for the reconnectionFailed event.

```javascript
function reconnectionFailedCallback(args) {
    console.log("args:", args);
}
```

---

## Nearby

- **Previous:** [Javascript: PropertyChangedEventArgs.newValue Property](https://docs.textcontrol.com/ds-server/reference/javascript/propertychangedeventargs/newvalue-property/llms-full.txt)
- **Next:** [ReconnectionFailedEventArgs Object](https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedeventargs/llms-full.txt)
