# DataRefreshOptions Interface

> DataRefreshOptions interface in the TX Sheet Control TypeScript API for Node.js: Optional per-refresh timeout and caller cancellation.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Node.js Server > DataRefreshOptions Interface
- **302 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/llms-full.txt

---

Optional per-refresh timeout and caller cancellation. Default timeout is 30 seconds.

Package: `@txtextcontrol/tx-sheet-control-server`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [signal](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/signal-property/llms-full.txt) | The signal value of DataRefreshOptions. |
| [timeoutMilliseconds](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/timeoutmilliseconds-property/llms-full.txt) | The timeoutMilliseconds value of DataRefreshOptions. |

### Examples

Configure DataRefreshOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

```typescript
import type { DataRefreshOptions } from '@txtextcontrol/tx-sheet-control-server';

const dataRefreshSettings: DataRefreshOptions = { signal: new AbortController().signal };
```

### See Also

- [TypeScript Node.js Server API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/llms-full.txt)
- [Workbooks and Worksheets](https://docs.textcontrol.com/tx-sheet-control/spreadsheets/workbooks/llms-full.txt)

---

## In This Section

- [DataRefreshOptions.signal Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/signal-property/llms-full.txt): DataRefreshOptions.signal property in the TX Sheet Control TypeScript API for Node.js, with its type AbortSignal | undefined and a TypeScript example.
- [DataRefreshOptions.timeoutMilliseconds Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/timeoutmilliseconds-property/llms-full.txt): DataRefreshOptions.timeoutMilliseconds property in the TX Sheet Control TypeScript API for Node.js, with its type number | undefined and a TypeScript example.

---

## Nearby

- **Previous:** [DataProvider Type](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/dataprovider/llms-full.txt)
- **Next:** [DataRefreshOptions.signal Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/nodejs/datarefreshoptions/signal-property/llms-full.txt)
