promise.waterfall

Runs an array of promises in series, each passing their results to the next promise in the array.

promise.waterfall2

Runs an array of promises in series, each passing their results to the next promise in the array. support an initialization parameter

promise.compose2

compose an array of promises ,return a function that chain resolve promise with an initialization parameter