# Javascript: DocumentEditorSettings.reconnectTimeout Property

> Optional. Time in seconds before stopping reconnection attempts after a connection loss.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 32.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: DocumentEditorSettings.reconnectTimeout Property
- **186 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/documenteditorsettings/reconnecttimeout-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/documenteditorsettings/reconnecttimeout-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/documenteditorsettings/reconnecttimeout-property/llms-full.txt

---

### Description

Optional. Time in seconds before stopping reconnection attempts after a connection loss.

### Syntax

```javascript
<number> DocumentEditorSettings.reconnectTimeout
```

### Examples

The following example demonstrates `DocumentEditorSettings.reconnectTimeout` in a practical document-editing workflow. Optional. Time in seconds before stopping reconnection attempts after a connection loss.

```javascript
function inspectReconnectTimeout(documentEditorSettings) {
    const reconnectTimeout = documentEditorSettings.reconnectTimeout;
    console.log("reconnect timeout:", reconnectTimeout);
}
```

---

## Nearby

- **Previous:** [Javascript: DocumentEditorSettings.formattingPrinter Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/documenteditorsettings/formattingprinter-property/llms-full.txt)
- **Next:** [Javascript: DocumentEditorSettings.uiCulture Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/documenteditorsettings/uiculture-property/llms-full.txt)
