Categories
Node.js

Easing pain of asynchronous programming

Actually, programming in Node.js is painless as long as you keep things simple, limited to one layer of async/await. Things get complicated when you have deeper structures, using at the same time modules with async/await functionality. In general it is better to stick to one or maximum two levels of callback. If you need more, […]