Autodesk interview question

promisify function