Function: fetchWithProgress()
fetchWithProgress(
url,onProgress,signal?):Promise<Uint8Array<ArrayBufferLike>>
Defined in: duckdb.ts:88
Fetch url into memory, reporting fraction-complete from the Content-Length and the streamed byte count. Falls back to a single arrayBuffer read when the body isn't a readable stream (or the length is unknown).
Parameters
url
string
onProgress
(fraction) => void
signal?
AbortSignal
Returns
Promise<Uint8Array<ArrayBufferLike>>