17
Manejo de errores en Promise.all
Tengo una serie de promesas con las que estoy resolviendo Promise.all(arrayOfPromises); Continúo para continuar la cadena de promesa. Se ve algo como esto existingPromiseChain = existingPromiseChain.then(function() { var arrayOfPromises = state.routes.map(function(route){ return route.handler.promiseHandler(); }); return Promise.all(arrayOfPromises) }); existingPromiseChain = existingPromiseChain.then(function(arrayResolved) { // do stuff with my array of resolved promises, …