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
options?
Returns
Promise<WorkDownload>
