I am facing a situation where I have an array of images that are uploaded with a series of asynchronous operations as shown below:
for ( let key in imageFileObject ) {
const imageFile = imageFileObject[key]
dispatch('get_signed_request', imageFile)
}
Every time the dispatch
function is called, it triggers numerous other asynchronous operations.
My goal is to determine when all these operations have been completed so that I can proceed with further actions.
Is there a way to accomplish this?