Perhaps in the onProgress
handler? It could receive a second parameter with a details object. The signature could look something like this:
{
receivedBytes,
totalBytes,
item,
}
Further expanding on this idea, it could also include useful info like eta
(estimated time remaining in milliseconds) and bps
(current bytes per second). These would be handy but are less important as they can be calculated outside of the module using receivedBytes
, totalBytes
and a setTimeout
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too