# DataProvider Type

> DataProvider type alias in the TX Sheet Control TypeScript API for the browser, with its syntax and a TypeScript example.

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

---

Host-supplied authenticated transport. The signal covers the entire query, not just response headers.

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

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

### Syntax

```typescript
type DataProvider = (request: Readonly<DataRequest>, signal: AbortSignal) => Promise<DataSnapshot>;
```

### Examples

Pass the DataProvider value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

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

function inspectDataProvider(dataProvider: DataProvider) {
    const value = dataProvider;
    console.log('DataProvider.value', value);
}
```

### 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)

---

## Nearby

- **Previous:** [DataConnections.unbind Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/dataconnections/unbind-method/llms-full.txt)
- **Next:** [DataRefreshOptions Interface](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/datarefreshoptions/llms-full.txt)
