---
title: "Discussion on \"Hey #SalesforceDevs! do you suffer from mild to moderate JavaScript? If so, Async/Await can help.\" | Hashnode"
description: "Discussion on \"Hey #SalesforceDevs! do you suffer from mild to moderate JavaScript? If so, Async/Await can help.\". An unhinged discussion of JavaScript asynchronous patterns."
url: "https://hashnode.com/posts/hey-salesforcedevs-do-you-suffer-from-mild-to-moderate-javascript-if-so-asyncawait-can-help/679181a029d1e8c782b5d40b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Hey #SalesforceDevs! do you suffer from mild to moderate JavaScript? If so, Async/Await can help.](https://codefriar.com/hey-salesforcedevs-do-you-suffer-from-mild-to-moderate-javascript-if-so-asyncawait-can-help?utm_source=hashnode&utm_medium=feed)

An unhinged discussion of JavaScript asynchronous patterns.

Jan 22, 2025 · 5 min read · codefriar.com  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)

## Written by

[Kevin Poorman](https://hashnode.com/@codefriar)

@codefriar · Washington, US

  
[View profile](https://hashnode.com/@codefriar)

Benevolent Evil Genius

## Responses 2

Markdown supported · ⌘↵ to post

[Tanner Woody](https://hashnode.com/@twoody-vacatia)

[Jun 12, 2025](https://hashnode.com/posts/hey-salesforcedevs-do-you-suffer-from-mild-to-moderate-javascript-if-so-asyncawait-can-help/679181a029d1e8c782b5d40b/comment/684b4676a65bfb9f8776907c)

Awesome read and great article!

In regards to complex and large overhead setups: I would recommend an honorable mention to wrapping multiple `async` "tasks" in an `await Promise.all([task1, task2, task3])`

This style will run the three different tasks in parallel, which can make this specific example 3x faster (assuming all three tasks take equal time to execute and are the only thing we are benchmarking)

[Justin Stroud](https://hashnode.com/@stainlesssteelrat)

[Jan 23, 2025](https://hashnode.com/posts/hey-salesforcedevs-do-you-suffer-from-mild-to-moderate-javascript-if-so-asyncawait-can-help/679181a029d1e8c782b5d40b/comment/6791969784c2ae98b929d93a)

Well put, although I find writing out promises as they stand to be more intuitive and explicit than async/await. Perhaps that's because of the way my eyes are trained to scan code, as they tend to hide in the underbrush. Props for calling out the Dark Ages of Callbacks.
