[@rxap/data-source](../wiki/globals) / observableDataSource

# Function: observableDataSource()

> **observableDataSource**\<`Data`\>(`data`, `metadata`): [`ObservableDataSource`](../wiki/Class.ObservableDataSource)\<`Data`\>

Defined in: [packages/angular/data-source/src/lib/observable.data-source.ts:49](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/data-source/src/lib/observable.data-source.ts#L49)

## Type Parameters

• **Data**

## Parameters

### data

`Observable`\<`Data`\>

### metadata

[`ObservableDataSourceMetadata`](../wiki/Interface.ObservableDataSourceMetadata)\<`Data`\> = `...`

## Returns

[`ObservableDataSource`](../wiki/Class.ObservableDataSource)\<`Data`\>
