Promises

Showing 1-3 of 3 results
EngineeringIcon ChevronBack-end

Using Express.js Routes for Promise-based Error Handling

by Vitaly Senko

Maintainable Express.js code after scaling means making common code more feature-rich while reducing boilerplate. Find out how to enable promise-based route code and centralize both error handling and normal-results handling in Express.js apps.

8 minute readContinue Reading
EngineeringIcon ChevronBack-end

Benchmarking A Node.js Promise

by Omar Waleed

You can just write sequentially executed code in JavaScript, but should you? In this article, Toptal Freelance JavaScript Developer Omar Waleed tests the widespread Node.js belief that synchronous code degrades performance and is, in a sense, just plain evil. Is this really true?

7 minute readContinue Reading
EngineeringIcon ChevronWeb Front-end

JavaScript Promises: A Tutorial with Examples

by Balint Erdi

Promises are a hot topic in JavaScript, and you should definitely get acquainted with them. They are not easy to wrap your head around, it can take a few articles, and a decent amount of practice to comprehend them. Aim of this article is to help you understand Promises, and nudge you to get more practice using them.

9 minute readContinue Reading

Join the Toptal® community.