Write Your Own Promisify Function from Scratch

added by JavaScript Kicks
12/22/2019 10:25:03 AM

370 Views

This guide require prior knowledge of callback [https://nodejs.org/en/knowledge/getting-started/control-flow/what-are-callbacks/] and promises [https://101node.io/blog/how-promises-actually-work-inside-out/] Introduction In this article, we will learn how to write your own promisify function from scratch Promisification helps in dealing with callback-based APIs while keeping code consistent with promises.


0 comments