Great post. Recently I was stuck on a problem where I want to download multiple files (specially videos) from s3 using aws-sdk for JS. It's on election app. Basically all the data required to download content will be receive from a queue which is implement using rabbitmq. Now when I receive new object from queue I want to cancel all the pending promises and download request (xhr request). It there any suggestions for such cases. I am not still able to figure out proper solution for this though consultant in a lot of places.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great post. Recently I was stuck on a problem where I want to download multiple files (specially videos) from s3 using aws-sdk for JS. It's on election app. Basically all the data required to download content will be receive from a queue which is implement using rabbitmq. Now when I receive new object from queue I want to cancel all the pending promises and download request (xhr request). It there any suggestions for such cases. I am not still able to figure out proper solution for this though consultant in a lot of places.