---
title: "Comment by Mayuri Ukey on \"[Node.js] Using callback-based functions when the rest of the code uses Promises\" | Hashnode"
description: "Hey, I had been struggling with callbacks and promises in a legacy codebase. Thanks for sharing this blog. It made my life easier✌️. And I must mention that uti"
url: "https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982/comment/6459b40da7fbb23dbe43c0cd"
---

[Discussion](https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982)

Comment [\[Node.js\] Using callback-based functions when the rest of the code uses Promises](https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982)

[Mayuri Ukey](https://hashnode.com/@MayuriUkey)

[May 9, 2023](https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982/comment/6459b40da7fbb23dbe43c0cd)

Hey, I had been struggling with callbacks and promises in a legacy codebase. Thanks for sharing this blog. It made my life easier✌️. And I must mention that util.promisify was cherry on the cake.

[Gaurang Pansare](https://hashnode.com/@gaurang847)

[May 14, 2023](https://hashnode.com/posts/nodejs-using-callback-based-functions-when-the-rest-of-the-code-uses-promises/6457f9ee44a394be07499982/comment/6459b40da7fbb23dbe43c0cd#reply-6460ac09d8bff688bc84727a)

I'm glad I was able to help! :)
