I have an array of images that get uploaded with a chain of async operations like so:
for ( var key in imageFileObject ) {
  const imageFile = imageFileObject[key]
  dispatch('get_signed_request', imageFile)
}
Each dispatch triggers a multitude of other async operations.
I'd like to know when all the operations are done so that I could take some action.
How can this be achieved?
 
     
     
    