DEV Community

loading...

Discussion on: How to rewrite a callback function in Promise form and async/await form in JavaScript

Collapse
ns23 profile image
Nitesh Sawant

We can also use util.promisify() to convert callback to promise

Collapse
zeropaper profile image