Skip to content

searchWorksAcross ​

Import from: @xbbg/xnews

searchWorksAcross(sources, query?): Promise<{ items: readonly WorkRecord[]; results: readonly WorksResult[]; }>

Defined in: src/works.ts (declaration: works.d.ts:30)

Searches several catalogs concurrently and merges the results. Every source's envelope is returned so a single failing catalog degrades the merge instead of failing it.

Parameters ​

sources ​

readonly WorksSource[]

query? ​

WorksQuery

Returns ​

Promise<{ items: readonly WorkRecord[]; results: readonly WorksResult[]; }>

Last updated:

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