Promises

Showing 1-3 of 3 results

Share

Using Express.js Routes for Promise-based Error Handling

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
Vitaly Senko

Vitaly Senko

Benchmarking A Node.js Promise

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
Omar Waleed

Omar Waleed

JavaScript Promises: A Tutorial With Examples

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
Balint Erdi

Balint Erdi

World-class articles, delivered weekly.

Subscription implies consent to our privacy policy

Join the Toptal® community.