Tag Archives: Conjurer

Video: A Conjurer’s Guide to Promises – Coding School Presentation on Node.js Promise Libraries

Promises are a useful alternative to callbacks when handling control flow for asynchronous functions. A Conjurer’s Guide to Promises, presented by Hack Reactor Technical Mentor Dan Thareja, is a practical overview of some of the most popular promise libraries in Node.js. We’ll revisit the popular callback pattern and see how we can use Q and Bluebird to ‘promisify’ the same function. By the end of the video, you should have a basic understanding of what Promises are and how you can start using them in your own code. You can find an annotated copy of the code written at https://gist.github.com/danthareja/c9…. Go forth and conjure!