Firstly, thanks for an awesome plugin. It came highly recommended and seems to be precisely what we're looking for.
I'm wondering if there are docs somewhere about what type of events the onprogress callback gets passed?
Specifically, I'm thinking about how to implement a "ready" event for each file. Ideally I'd like to throw some files at the cache, and then trigger a callback when those files have been successfully fetched. My first thought was to try listening to the progress events and then reacting appropriately. Does that approach make sense?
Firstly, thanks for an awesome plugin. It came highly recommended and seems to be precisely what we're looking for.
I'm wondering if there are docs somewhere about what type of events the
onprogresscallback gets passed?Specifically, I'm thinking about how to implement a "ready" event for each file. Ideally I'd like to throw some files at the cache, and then trigger a callback when those files have been successfully fetched. My first thought was to try listening to the progress events and then reacting appropriately. Does that approach make sense?