---
title: "Discussion on \"How to use async/await in forEach method\" | Hashnode"
description: "Discussion on \"How to use async/await in forEach method\". Async/await syntax is awesome. It allows writing asynchronous code that looks just as synchronous. No more callbacks. No more nested code. But it seems that it doesn't always work. Let me show you what I mean.\nSequential task processing\nLet's assume ..."
url: "https://hashnode.com/posts/how-to-use-asyncawait-in-foreach-method/609c1e91b684eb4cd52c26a6"
---

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

Discussion

# [How to use async/await in forEach method](https://blog.tomaszgil.me/how-to-use-asyncawait-in-foreach-method?utm_source=hashnode&utm_medium=feed)

Async/await syntax is awesome. It allows writing asynchronous code that looks just as synchronous. No more callbacks. No more nested code. But it seems that it doesn't always work. Let me show you what I mean. Sequential task processing Let's assume ...

May 12, 2021 · 5 min read · blog.tomaszgil.me  
Updated Feb 17, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#async](https://hashnode.com/tag/async)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#array-methods](https://hashnode.com/tag/array-methods)

## Written by

[Tomasz Gil](https://hashnode.com/@tomaszgil)

@tomaszgil · Poznań, Poland

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

Senior Software Engineer

I help product teams build quality software and lead engineering efforts. Currently working at OpenSpace as a Senior Software Engineer.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
