How to get progress of a file cat or get?

When adding a file to IPFS (via the js-ipfs or js-ipfs-api libraries at least) one can pass a “progress” callback to track how far along an add is. This doesn’t seem to be possible for “get” or “cat” calls. What is the recommended way to track the progress of a download started by such a call?

1 Like