If you run await got(url).on("downloadProgress", callback)
, the callback should also be passed the got
instance so we can easily cancel it or do other things to it without having to find an inconvenient way to pass the instance around, such as using a handler like shown in https://github.com/sindresorhus/got/blob/main/documentation/examples/advanced-creation.js#L42.
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