---
title: "Discussion on \"For that promise tricky question \" | Hashnode"
description: "Discussion on \"For that promise tricky question \". Good catch. The difference is:\n\nin foo, the await is directly inside foo\n\nin two, the await is waiting on another async function’s promise\n\n\nSo in one case, foo queues its own continuation immediately"
url: "https://hashnode.com/posts/for-that-promise-tricky-question/69da6a1fc8e5007ddbbd4093"
---

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

Discussion

# [For that promise tricky question](https://dheerajmalik.hashnode.dev/for-that-promise-tricky-question?utm_source=hashnode&utm_medium=feed)

Good catch. The difference is: in foo, the await is directly inside foo in two, the await is waiting on another async function’s promise So in one case, foo queues its own continuation immediately

Apr 11 · 4 min read · dheerajmalik.hashnode.dev  
Read the article

## Written by

[Dheeraj Malik](https://hashnode.com/@iAmDheeraj)

@iAmDheeraj

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

I love web

I write here to learn, feel free to correct.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
