---
title: "Discussion on \"Iterators and Generators. gateway to the async/await pattern :\" | Hashnode"
description: "Discussion on \"Iterators and Generators. gateway to the async/await pattern :\". In the last article, we discussed javascript Promises and how they solved the problems of callback functions. \njavascript promises are great but chaining them one by one is not very declarative.\nit would be very cool if we are able to write asynchron..."
url: "https://hashnode.com/posts/iterators-and-generators-gateway-to-the-asyncawait-pattern/6043c54f5a56f82fa3ecc0b3"
---

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

Discussion

# [Iterators and Generators. gateway to the async/await pattern :](https://pranshushah.hashnode.dev/iterators-and-generators-gateway-to-the-asyncawait-pattern?utm_source=hashnode&utm_medium=feed)

In the last article, we discussed javascript Promises and how they solved the problems of callback functions. javascript promises are great but chaining them one by one is not very declarative. it would be very cool if we are able to write asynchron...

Mar 6, 2021 · 11 min read · pranshushah.hashnode.dev  
Read the article

-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)

## Written by

[pranshu shah](https://hashnode.com/@pranshushah)

@pranshushah

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

frontend-engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
