Skip to content

fetchDataRelease ​

Import from: @xbbg/xnews

fetchDataRelease<Row>(source, options?): Promise<DataProviderResult<Row>>

Defined in: src/data.ts (declaration: data.d.ts:18)

Fetches one release through the shared status taxonomy. Never throws: transport failures land in error with status: "error", and caller configuration preconditions land in status: "disabled", mirroring the news lane's ProviderResult.

Type Parameters ​

Row ​

Row

Parameters ​

source ​

DataSource<Row>

options? ​

DataFetchOptions

Returns ​

Promise<DataProviderResult<Row>>

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.