Promise.all并发限制

Promise.all可以保证,promises数组中所有promise对象都达到resolve状态,才执行then回调。