# DataRefreshOptions Interface

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

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

---

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

Package: `@txtextcontrol/tx-sheet-control`. 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/browser/datarefreshoptions/signal-property/llms-full.txt) | The signal value of DataRefreshOptions. |
| [timeoutMilliseconds](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/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';

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

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/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/browser/datarefreshoptions/signal-property/llms-full.txt): DataRefreshOptions.signal property in the TX Sheet Control TypeScript API for the browser, with its type AbortSignal | undefined and a TypeScript example.
- [DataRefreshOptions.timeoutMilliseconds Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datarefreshoptions/timeoutmilliseconds-property/llms-full.txt): DataRefreshOptions.timeoutMilliseconds property in the browser TypeScript API, with its type number | undefined and a TypeScript example.

---

## Nearby

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