DEV Community

Discussion on: What is async?

Collapse
 
tcgumus profile image
Tuna Çağlar Gümüş

Async means Asynchronous. Its mainly used with await in Python. They are there for concurrent programming not to be confused with paralel.
You are using it when you want to call/run something that you don't know when it will return an answer or even have an answer. So, with using async you can "independently" execute code. It is mainly used for service calls or URL checks.