We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After implementing this solution for my own project, I was curious as how one would implement a "cancel upload" feature.
I had imagined a cancelled flag telling the meteor-file to stop reading/uploading would do the trick.
cancelled
meteor-file
Say I'd do something like this. Uploads being the collection of meteor-file being uploaded
Uploads
Uploads.update(this._id, { $set: {cancelled: true} });
and then within the meteor-file object
var stop = this.collection.findOne(this._id).cancelled ...
But this would return undefined.
undefined
Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After implementing this solution for my own project, I was curious as how one would implement a "cancel upload" feature.
I had imagined a
cancelled
flag telling themeteor-file
to stop reading/uploading would do the trick.Say I'd do something like this.
Uploads
being the collection ofmeteor-file
being uploadedand then within the
meteor-file
objectBut this would return
undefined
.Any ideas?
The text was updated successfully, but these errors were encountered: