js May 31, 2016 asynchronous recursive pattern in node.js Use Promise to invoke asynchronous function in recursive way node.js javascript promise