Seeking advice on methodology: I currently utilize $q.all
to handle multiple promises in a single return, processing all results as one request.
For instance:
$q.all([promise1(),promise2(),promise3(),promise(4),promise5()])..then(function(response){ ...}
However, I have observed that different promises are often returned at varying time frames. These promises are all http calls to third party sites. When one promise is delayed by 8 or 14 seconds, the final results of all promises are similarly delayed. A case of the 'slowest link' syndrome.
Is there an alternative method to simultaneously call all promises while allowing results to be processed and displayed to the user as they arrive, rather than waiting for all promises to return before processing them collectively?