Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rmarren1 opened this issue Jul 25, 2018 · 1 comment

Comments

@rmarren1
Copy link
Owner

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.

@tracek
Copy link

tracek commented Feb 25, 2019

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants