Hi Mehmet,

async-await doesn’t change execution flow at all. await will not block call rather it will not execute code after the function call and will return control to calling function. When promise/observable resolves then rest of code is executed.

Benefit of this approach is to avoid nested promise/subscribe blocks and write code which looks synchronous but asynchronous.

Cloud Solution Architect | Author | Full Stack Developer | https://www.linkedin.com/in/balram-chavan | https://www.hiretheauthor.com/balramchavan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store