Minima.js API / @minimajs/disk / plugins / downloadProgress
Function: downloadProgress()
ts
function downloadProgress(onProgress): (disk) => void;Download progress plugin — tracks bytes read from the driver. Uses the streaming hook to wrap the stream with a TransformStream that calls onProgress as each chunk passes through.
Parameters
onProgress
(progress) => void
Returns
ts
(disk): void;Parameters
disk
Returns
void