Skip to content

downloadWork ​

Import from: @xbbg/xnews

downloadWork(record, options?): Promise<WorkDownload>

Defined in: src/download.ts (declaration: download.d.ts:76)

Resolves a record and downloads the first candidate that answers. Every candidate's failure is kept, so an exhausted list names each attempt rather than reporting only the last one.

Parameters ​

record ​

WorkRecord

options? ​

DownloadOptions

Returns ​

Promise<WorkDownload>

Last updated:

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