Question
How to remove files from the upload.findPreviousUploads() queue?
Setup details
Please provide following details, if applicable to your situation:
tus-js-client: version 3
How to clean up the queue for upload.findPreviousUploads()?
If I select a file it adds to the upload.findPreviousUploads()?
I can run
tus.Upload.terminate(uploadUrl)
.then(() => {
console.log('successfully terminated');
})
.catch(error => {
console.error('Termination failed:', error);
});
and it ran successfully, but afterward upload.findPreviousUploads() still returns the same files.