Bluebird mapSeries
问题 I am trying to execute a series of promises in order, only going to the next one after the previous is resolved. From Bluebird docs: The iterator won't be called for an item until its previous item, and the promise returned by the iterator for that item are fulfilled. http://bluebirdjs.com/docs/api/promise.mapseries.html var Promise = require('bluebird'); function test(time) { return new Promise(function(resolve, reject) { setTimeout(function() { console.log(time); resolve(time); }, time); })