dash-resumable-upload icon indicating copy to clipboard operation
dash-resumable-upload copied to clipboard

Don't trigger callbacks using the data right after it finishes loading.

Open rmarren1 opened this issue 7 years ago • 1 comments

This just caught me up when doing some integration tests. When the component has the completeClass that does not mean the data is actually available, just that the last chunk has been acked by the server and it is beginning to zip the files.

Workaround is just to put a time.sleep() before attempting to read any files.

rmarren1 avatar Jul 25 '18 14:07 rmarren1

Hi and thanks for making this available! Can you recommend / show by example the best way how to handle the uploaded file when the process completes? Should I simply go through all the chunks and then on last object time.sleep()? I could not figure out how to use completeClass.

How should I know the filename? Take the chunk name and strip _part or there is a smarter way?

I'd appreciate your help!

tracek avatar Feb 25 '19 23:02 tracek