[Node.js] Using callback-based functions when the rest of the code uses Promises
Hey! My name is Gaurang and I've been working with Node.js for the past 5 years. This article is part of the "My Guide to Getting through the Maze of Callbacks and Promises" series. It's a 3-part series where I talk about writing asynchronous code wi...
![[Node.js] Using callback-based functions when the rest of the code uses Promises](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1748716152326%2Fbc59c7a6-7b61-4928-b1fd-43f865e71238.png&w=3840&q=75)
![[Node.js] Why using sync versions of async functions is bad.](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1678817401656%2F3fb2299a-e5ae-4637-89bd-870f3db6130c.png&w=3840&q=75)
