Skip to content

How async await works

Devrath edited this page Oct 10, 2021 · 6 revisions

Challenge in asynchronous code

  • One of the biggest challenges in asynchronous programming is returning values from it.
  • This is a challenge because once you call the function, you don't know when to return.
  • This is hard to achieve on communicating between the threads.
Clone this wiki locally