chain array of promises with bluebird
问题 I'm a working my way with promises and I'm stuck with my use case. I have an array of transformer functions (each function is a promise and modifies some JSON structure). Let me show some code. Lets say this is my JSON structure (array) var data = [{a: 1, b:2}, {a:3, b:4}]; transformFunction is definition of transform functions modifying the data a certain way. The two functions adds c and d property to the above JSON structure: var transformFunctions = { // transform1: function (data) { //