var Q = require("q");http://www.ituring.com.cn/article/54547http://www.chenqing.org/2014/05/use-q-js-to-promise-in-node.html
var Q = require("q");
Q.fcall(delayOne).then(delayTwo).then(delayThree).then(delayFour).done();
nodejs Q.js promise
原文:http://www.cnblogs.com/zyip/p/4302939.html