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

How do you deal with multiple upload events #18

Open
mschipperheyn opened this issue Oct 24, 2016 · 1 comment
Open

How do you deal with multiple upload events #18

mschipperheyn opened this issue Oct 24, 2016 · 1 comment

Comments

@mschipperheyn
Copy link

I'm trying to understand how it would work if the upload action is for multiple files but these actions happen in parallel (one file at a time). How do I identify for which file the upload progress is and how do I cancel an individual upload

@mschipperheyn
Copy link
Author

mschipperheyn commented Oct 24, 2016

I would suggest that you return a unique id from RNUploader.upload method, that you also pass in subsequent progress and file objects. This way, we can keep track of multiple uploader processes that occur in parallel. Kind of like a transactionid

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

1 participant