Promise.all() will be helpful here: var promises = []; array.forEach(function(element) { promises.push( developer.getResources(element) .then((data) = > ...
確定! 回上一頁