Examples of promise chaining.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
promiseChain.js
promiseSelfPropogating.js
promiseThenArguments.js
promiseWithArguments.js
readme.md
simplePromise.js

readme.md

Examples of chaining Promises and Passing arguments.

See the related blog

These were all executed in Node 0.12.7