cloneResponseMonitorProgress
Callable
Parameters
response: Response
The fetch Response object to clone.
onProgress: (event: CustomEvent<DownloadProgress>) => void
The callback to call when the download #progress changes.
Returns Response
The cloned response
Clones a fetch Response object and returns a version that calls the
onProgress
callback as the #progress changes.